DEV Community

Discussion on: Sets in JavaScript

Collapse
attacomsian profile image
Atta Author

Yes, Set values are unique. It will filter-out the duplicate characters if you pass a string to create a set.

Collapse
adam_cyclones profile image
Adam Crockett

So that's good for something I'm sure 😋