Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Chrome 63
Windows 7
Other
6 years ago
Test name Executions per second
forEach 57075.6 Ops/sec
for 2920.4 Ops/sec
for of 1039.2 Ops/sec
arrowForEach 3916.8 Ops/sec
forBackward 3238.7 Ops/sec
reverse while 3709.2 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • for

  • for of

  • arrowForEach

  • forBackward

  • reverse while


;