Skip navigation

Dumping variables

Dumping variables: ES6: The Right Parts
Dumping variables: ES6: The Right Parts

Kyle spends a few minutes talking about a technique for dumping variables through destructuring. He uses empty slots in an array to “catch” the variables to be dumped. He then uses the gather operator to populate the original variable with the remaining destructured values.


Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 17m
Duration
74,063
Views
Show More Show Less
Skills covered in this course
Web Web Development ECMAscript JavaScript

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month