Looking to filter duplicates from a list of objects:
[{name: "bob", age: "14"}, {name: "bob", age: "16"}, {name: "sue", age: "21"}]
I want to remove objects with duplicate 'name' properties, resulting in:
[{name: "bob", age: "14"}, {name: "sue", age: "21"}]
While there are solutions for array duplicate removal, none address removing duplicates based on a specific property without considering other fields.