JavaScript Array Methods | flat and flatMap 📹

Niall Maher - Aug 6 '20 - - Dev Community

In this short episode learn how to use flat and flatMap in 5 minutes. flat and flatMap are Array methods that were introduced in ES2019 and give us an easy way to flatten and work with nested arrays.

I hope this helped and until the next one, happy coding! 💜


Follow me on Twitter

Subscribe on Codú Community

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .