Iterating on an array: should you loop with .map, .forEach or for?
TL;DR? Check at least the sections "Time for the comparisons!" and "But wait! There's more" ;)     ...
Tags: javascript, optimization, beginners