Run details:
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66
Ubuntu
Desktop
2 years ago
Test name Executions per second
for 815466.4 Ops/sec
foreach 3820444.0 Ops/sec
some 3821223.8 Ops/sec
for..of 71455.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;