reduce

Removing Objects from …

Finding and remove duplicate information in an array is a very common task. In JavaScript this is pretty easy using the .reduce() method. Let’s say we have a simple array of objects like this: const myArray = [{ first_name: 'brian', last_name: 'wayne', age: 36 },{ first_name: …