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 12615.1 Ops/sec
for 6369.0 Ops/sec
for of 2297.5 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • for

  • for of


;