remove duplicated person array code example
Example 1: remove duplicates from array javascript
[...new Set(array)]
Example 2: remove duplicates from array javascript
arr.filter((v,i,a)=>a.findIndex(t=>(t.place === v.place && t.name===v.name))===i)