Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SAMSUNG SM-J710F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/13.2 Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
for 7913.0 Ops/sec
foreach 317679.3 Ops/sec
some 322784.6 Ops/sec
for..of 12655.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;