Introduction
If you wanted to select elements from an array or object before the ES2015 update to JavaScript, you would have to individually select them or use a loop.
The ES2015 specification introduced the destructuring assignment, a quicker way to retrieve array elements or object properties into variables.
In this