Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows 7
Other
2025 years ago
Test name Executions per second
for loop 102750.9 Ops/sec
forEach 814683.2 Ops/sec
Script Preparation code:
Tests:
  • for loop

  • forEach


;