Run details:
Mozilla/5.0 (Android 14; Mobile; rv:124.0) Gecko/124.0 Firefox/124.0
Firefox Mobile 124
Android
Mobile
7 months ago
Test name Executions per second
for 13050996.0 Ops/sec
foreach 7475910.5 Ops/sec
for in 33724728.0 Ops/sec
for..of 1001961.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of