Run details:
Mozilla/5.0 (Android 10; Mobile; rv:107.0) Gecko/107.0 Firefox/107.0
Firefox Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
for i 4708.2 Ops/sec
for..of 1374.6 Ops/sec
foreach 1245.1 Ops/sec
Script Preparation code:
Tests:
  • for i

  • for..of

  • foreach