LANGUAGE » JAVASCRIPT
Set
Usage
Creating Set
instance:
js
const myset = new Set([1, 2, 2]);
Convert Set
instance to Array
(most compatible way):
js
const myarr = Array.from(myset);