February 2018
Intermediate to advanced
298 pages
8h 22m
English
We can also ignore some of the values of the iterable. Here is example code that shows how to do this:
let [a, , b] = [1, 2, 3]; // notice -->, ,<-- (2 commas) console.log(a); console.log(b);
The output is as follows:
1 3
Read now
Unlock full access