Array Unique In Javascript Object Destructuring Javascript