This is why I don't use
forEachanymore.
This benchmark was done against native forEach, while, and for. The code for every function follows this pattern:
function code(arr) {
var res = 0;
// basic count, just to have it do something
arr.forEach(function (i) {
res++;