DEV Community

Discussion on: Stop abusing .map()!

Collapse
 
lionelrowe profile image
lionel-rowe

In 99% of cases, the performance difference will be too small to matter. The more important argument for forEach (or for... of) in those 99% of cases is that it's explicit about what it's doing.