JS.Next: ES6 / ES2015 JS.Next: ES6 / ES2015

Destructuring

Aaron Frost
Aaron Frost
Domo

Destructuring allows developers to bind a set of variables to a corresponding set of values. The syntax can seem backward since braces are used on the left side of the assignment. Aaron walks through a simple example to help explain this technique. He also show how to alias the variable names being destructured.

Get Unlimited Access Now