Destructuring Array Javascript