Run details:
Mozilla/5.0 (Linux; Android 8.0.0; PRA-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
for 8221.9 Ops/sec
foreach 354086.3 Ops/sec
some 354700.3 Ops/sec
for..of 13719.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;