Jul 20, 2017 · 1 min read
I guess the Mozilla developers heard you. Just did a little js-perf fiddle to retest and now forEach is roughly 20% faster than a traditional for loop (including length caching). :D
I guess the Mozilla developers heard you. Just did a little js-perf fiddle to retest and now forEach is roughly 20% faster than a traditional for loop (including length caching). :D
Written by