Array Map Javascript Object Destructuring Js