Removing duplicate object from an array of object using "array reduce ...

Removing duplicate object from an array of object using "array reduce ...