DEV Community

Discussion on: Stop abusing .map()!

Collapse
 
youdev profile image
Younes

There is also a performance cost to consider when looping:

leanylabs.com/blog/js-forEach-map-...