Run details:
Mozilla/5.0 (Linux; Android 7.0; Redmi Note 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Mobile Safari/537.36
Chrome Mobile 76
Android 7.0
Mobile
5 years ago
Test name Executions per second
for 10648.8 Ops/sec
foreach 452972.2 Ops/sec
some 462224.3 Ops/sec
for..of 17246.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;