Features Of ES6 Part 6: Destructuring

added by Paul Wheeler
9/15/2014 5:38:34 PM

2 Kicks, 75 Views

In ES6, a destructuring assignment allows us to tear apart an array or object into individual pieces that we can assign to variables. The square brackets [ and ] are used to destructure an array, while { and } will destructure an object.


0 comments