Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66
Windows 7
Desktop
5 years ago
Test name Executions per second
for 846972.5 Ops/sec
foreach 5066100.5 Ops/sec
some 5082057.5 Ops/sec
for..of 66263.9 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;