While reading the source code for the Quintus game engine, I found that they were making heavy use of for loops as opposed to the native forEach.
My original thought was that the native forEach method would be slightly faster than standard for loops. However, after testing my theory with these benchmarks, the for loop structures appears to be significantly faster.
After poking around, I can't seem to find out what's going on under the hood. Does anyone know the reason for the huge difference?
EDIT: To be clear, I am asking "why" is this this case. I'm not asking "which is faster".