Run details:
Mozilla/5.0 (Linux; Android 8.1.0; BV9500) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
for 10930.5 Ops/sec
foreach 618113.9 Ops/sec
some 588618.2 Ops/sec
for..of 17851.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;