Run details:
Mozilla/5.0 (Linux; Android 7.0; BLN-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.111 Mobile Safari/537.36
Chrome Mobile 84
Android 7.0
Mobile
4 years ago
Test name Executions per second
for 10519.5 Ops/sec
foreach 434545.6 Ops/sec
some 440516.6 Ops/sec
for..of 17061.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;