Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Ubuntu
Desktop
4 months ago
Test name Executions per second
for 567376.8 Ops/sec
foreach 828149.6 Ops/sec
some 775247.4 Ops/sec
for..of 100980.5 Ops/sec
for in 68559840.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of

  • for in