February 2018
Intermediate to advanced
298 pages
8h 22m
English
A destructuring assignment is an expression that allows you to assign the values or properties of an iterable or object to variables, using a syntax that looks similar to the array or object construction literals respectively.
A destructuring assignment makes it easy to extract data from iterables or objects by providing a shorter syntax. A destructuring assignment is already present in programming languages such as Perl and Python, and works the same way everywhere.
There are two kinds of destructuring assignment expressions: array and object. Let's see each of them in detail.
Read now
Unlock full access