Array flatMap() method in JavaScript! - New in Chrome Update 69

Published: 14 September 2018
on channel: dcode
10,746
174

The new flatMap() method on Arrays in JavaScript is a combination of the map() and flat() method. It's new in Chrome 69 and is officially Array.prototype.flatMap

In this video we take a look at how to use flatMap() and how it compares to the regular map() method.

Support me on Patreon:
  / dcode   - with enough funding I plan to develop a website of some sort with a new developer experience!

For your reference, check this out:
https://developer.mozilla.org/en-US/d...

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!


Watch video Array flatMap() method in JavaScript! - New in Chrome Update 69 online without registration, duration hours minute second in high quality. This video was added by user dcode 14 September 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,746 once and liked it 174 people.