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

ES6 Destructuring Introduction

Aaron Frost
Domo
Destructuring allows developers to bind a set of variables within an object 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