Run details:
Mozilla/5.0 (Linux; Android 6.0.1; ASUS_X00ADA) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 Mobile Safari/537.36
Chrome Mobile 83
Android 6.0.1
Mobile
4 years ago
Test name Executions per second
for 5715.7 Ops/sec
foreach 238794.8 Ops/sec
some 245088.3 Ops/sec
for..of 9364.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;