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! 💜
Subscribe on Codú Community
Top comments (0)