Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove duplicated from array of ojects

arr.filter((v,i,a)=>a.findIndex(v2=>(v2.id===v.id))===i)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicated #array #ojects
ADD COMMENT
Topic
Name
5+5 =