Run details:
Mozilla/5.0 (Linux; Android 10; CPH1951) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
3 years ago
Test name Executions per second
for 29592.5 Ops/sec
foreach 1418132.0 Ops/sec
some 1474112.5 Ops/sec
for..of 46003.3 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;