Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Fedora
Other
7 years ago
Test name Executions per second
for 1215116.2 Ops/sec
foreach 5233454.0 Ops/sec
some 5267433.5 Ops/sec
for..of 88177.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;