JavaScript Associate — Medium
Key points
- Destructuring assignment allows specific elements of an array to be assigned to variables.
- The empty space between commas in the destructuring assignment skips elements.
- The order of variables in the assignment corresponds to the order of elements in the array.
Ready to go further?
Related questions
