Search
 
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
Name
3+3 =