perf(forEach): use native for loop instead of forEach for Arrays