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 29316834.0 Ops/sec
foreach 14607941.0 Ops/sec
for in 164073520.0 Ops/sec
for..of 2358364.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;