Javascript Arrays Made Simple: Map and Flat (Part 4)
Map is probably the most important single array method you will learn, particularly if you are a React developer. Let’s dig into the powerful map method, and its associated methods to see just what we can do with them.
Quokka:
Code:
👉 What’s my theme? Night Wolf [black]
👉 What’s that font? Operator Mono
👉 I’m a host on the React Round Up podcast:
👉 Don’t forget to subscribe to this channel for more updates:
👉 Discord server signup:
00:00 Introduction
00:22 Map of scalars
01:45 Chaining filter and map
03:07 Mapping over objects
05:25 Nested object references
06:39 Cheap cloning
07:53
08:52 Flat
10:07 flatMap
11:09 Concat
12:09 Review
12:52 Outroduction
Thank you for watching this video, click the “SUBSCRIBE“ button to stay connected with this channel.
#javascript #arrays