January 2020
Intermediate to advanced
470 pages
11h 13m
English
In ES2019, two operations were added to JavaScript: flat(), which we'll look at now, and flatMap(), which we'll look at a bit later. It's easier to show what they do than to explain—bear with me!
The flat() method creates a new array, concatenating all elements of its subarrays to the ...
Read now
Unlock full access