Run details:
Mozilla/5.0 (Linux; Android 10; Mi Pad 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Safari/537.36
Chrome 88
Android
Desktop
3 years ago
Test name Executions per second
for 45953.9 Ops/sec
foreach 1007064.8 Ops/sec
for..of 2071629.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of