Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove duplicate object in array javascript

arr.filter((v,i,a)=>a.findIndex(t=>(t.place === v.place && t.name===v.name))===i)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicate #object #array #javascript
ADD COMMENT
Topic
Name
6+7 =