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!
На этой странице сайта вы можете посмотреть видео онлайн Array flatMap() method in JavaScript! - New in Chrome Update 69 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь dcode 14 Сентябрь 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 10,746 раз и оно понравилось 174 зрителям. Приятного просмотра!