- This article has a good overview of array destructuring. You can find an example of basic variable assignment in the 'Basic Array Destructuring' section.
- You can use placeholders to ignore one or more values in the array.
- You can find an example here.
- It's possible to swap two values in a single destructuring expression.
- You can find an example here.