Run details:
Mozilla/5.0 (Linux; Android 7.1.2; Redmi 5 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
Chrome Mobile 91
Android 7.1.2
Mobile
3 years ago
Test name Executions per second
for 8723.1 Ops/sec
foreach 386425.6 Ops/sec
some 396154.7 Ops/sec
for..of 15128.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;