Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove duplicates javascript

function withoutDuplicates (arr) {
  return [...new Set(arr)];
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #javascript
ADD COMMENT
Topic
Name
1+5 =