Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
for 26751754.0 Ops/sec
foreach 13525584.0 Ops/sec
for in 89478224.0 Ops/sec
for..of 1656917.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;