Run details:
Mozilla/5.0 (Linux; U; Android 9; en-us; Redmi S2 Build/PKQ1.181203.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.141 Mobile Safari/537.36 XiaoMi/MiuiBrowser/11.3.4-g
Chrome Mobile 71
Android
Mobile
4 years ago
Test name Executions per second
for 10624.9 Ops/sec
foreach 450669.1 Ops/sec
some 458785.4 Ops/sec
for..of 18742.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;