DEV Community

Discussion on: Remove duplicate characters in a string javascript

Collapse
 
muttsuri profile image
Muttsuri

Couldn't we just pass the array to a Set() and then back to an array?

Collapse
 
calag4n profile image
calag4n

I'd do this way