DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to make a string with unique characters js
const uniq = (str) => { console.log(([...new Set(str)]).join('')) } uniq('hello')
PREVIOUS
NEXT
Tagged:
#string
#unique
#characters
#js
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit