DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+4 =
Submit