Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Mac OS X 10.10
Other
8 years ago
Test name Executions per second
for 4223056.5 Ops/sec
foreach 3883300.5 Ops/sec
some 3887618.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some