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 23300586.0 Ops/sec
foreach 14858845.0 Ops/sec
some 13004707.0 Ops/sec
for..of 1981337.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;