Run details:
Mozilla/5.0 (Linux; Android 9; SM-G955F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
for 20058.9 Ops/sec
foreach 1257641.0 Ops/sec
some 1217307.8 Ops/sec
for..of 33619.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;