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