Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
for 26846626.0 Ops/sec
foreach 12798365.0 Ops/sec
some 13850857.0 Ops/sec
for..of 1902264.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;