Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

deduplicate array javascript

function uniq(a) {
   return Array.from(new Set(a));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deduplicate #array #javascript
ADD COMMENT
Topic
Name
3+6 =