Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Fedora
Desktop
3 years ago
Test name Executions per second
for 11048828.0 Ops/sec
foreach 6175054.0 Ops/sec
some 5754188.5 Ops/sec
for..of 130557.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;