Array Unique In Javascript Object Destructuring Js