DEV Community

Discussion on: Stop abusing .map()!

Collapse
 
antonioaltamura profile image
antonioaltamura • Edited

the article would have been complete with a bechmark.
Here we are jsbench.me/ujkub8rcv2/1
forEach seems to be the fastest in that snipped. map seems to be around 20% slower and for..of 15% slower.