Play Video
Pause
Playback Rate
1.00x
Speed
2×
1.5×
1.25×
1×
0.5×
0.25×
Current Time
0:00
/
Duration Time
0:00
Toggle side panel
Non-Fullscreen
Lessons
Course
ES2019 Additions to JavaScript
1
Array.prototype.flatMap from ES2019
45s
2
Flatten a Nested Array in JavaScript with Array.prototype.flat
50s
3
Convert an Object to an Array and back again with Object.entries and Object.fromEntries
26s
Autoplay
is off
off
Flatten a Nested Array in JavaScript with Array.prototype.flat
Instructor
Laurie Barth
JavaScript
Share this video with your friends
Send Tweet
Copy link
Published 3 years ago
Updated a year ago
This is an example of how to use the flat method available on the array prototype in JavaScript.
Course
ES2019 Additions to JavaScript
Comments
(0)