Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Ubuntu
Desktop
4 years ago
Test name Executions per second
for 616661.7 Ops/sec
foreach 2975184.5 Ops/sec
some 2613443.2 Ops/sec
for..of 50995.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;