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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 andfor..of
15% slower.