Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Chrome 62
Windows 8.1
Other
6 years ago
Test name Executions per second
forEach 12760.6 Ops/sec
for 6531.4 Ops/sec
for of 2316.2 Ops/sec
arrowForEach 12638.6 Ops/sec
forBackward 6372.3 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • for

  • for of

  • arrowForEach

  • forBackward


;