DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
convert string to set in js
const strToArr = (str) => str.split(""); const strToSet = (str) => [...new Set(strToArr(str))];
PREVIOUS
NEXT
Tagged:
#convert
#string
#set
#js
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit