DEV Community

Discussion on: Understanding Array.prototype.flatMap

Collapse
 
laurieontech profile image
Laurie

I think it depends. The Mozilla docs actually mention that for large arrays that option isn’t as efficient.

developer.mozilla.org/en-US/docs/W...

Collapse
 
tanmayrajani profile image
Tanmay Rajani

Makes sense. Thanks for sharing!