Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Linux
Desktop
24 days ago
Test name Executions per second
for 11286511.0 Ops/sec
foreach 8113030.0 Ops/sec
some 7880981.0 Ops/sec
for..of 1117577.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;