A Re-Introduction To Destructuring Assignment — Smashing Magazine
Sick of chaining lots of keys together with dots to access nested values in objects? Frustrated that `arr[0]` isn’t a very descriptive name? Destructuring assignment has incredible value when accessing values in arrays and objects. Read on to learn a number of use cases in which this syntax can come in handy.