DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
find unique elements in array
const arr[1,2,3,4,4,5,5] console.log(...new Set(arr))
Source by leetcode.com #
PREVIOUS
NEXT
Tagged:
#find
#unique
#elements
#array
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit