Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Ubuntu
Desktop
4 years ago
Test name Executions per second
for 1363552.6 Ops/sec
foreach 7495411.0 Ops/sec
some 7246701.5 Ops/sec
for..of 112022.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;