Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Duplicate removes from Array of Objects

let key="orderNumber";
[...new Map(this.GetDropsMapAddress.drops.map(item =>[item[key], item])).values()];
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #Duplicate #removes #Array #Objects
ADD COMMENT
Topic
Name
2+1 =