Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Ubuntu
Desktop
10 months ago
Test name Executions per second
for 10814545.0 Ops/sec
foreach 6025907.5 Ops/sec
some 5903809.0 Ops/sec
for..of 879805.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;