Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Mac OS X 10.15
Desktop
25 days ago
Test name Executions per second
for 34098792.0 Ops/sec
foreach 17198630.0 Ops/sec
for in 207295392.0 Ops/sec
for..of 2816019.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;