DEV Community

Discussion on: Understanding Array.prototype.flatMap

georgecoldham profile image

I love functional programming, its what I push for all my code to be where possible (I often work with other peoples code bases).

I just cant think of a situation where I have got an array that I both need to iterate over and flatten at the same time.

Thread Thread
laurieontech profile image
Laurie Author

Seems like this has some good ones!