Run details:
Mozilla/5.0 (Android 10; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android
Mobile
one year ago
Test name Executions per second
for 2280162.5 Ops/sec
foreach 1880939.9 Ops/sec
for in 9688797.0 Ops/sec
for..of 117391.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;