Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript remove duplicates from array

unique = [...new Set(arr)];   // where arr contains duplicate elements
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #remove #duplicates #array
ADD COMMENT
Topic
Name
9+7 =