Destructuring-in-javascript