Run details:
Mozilla/5.0 (Linux; Android 9; LGM-G600K Build/PKQ1.190522.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.136 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
for 25913.7 Ops/sec
foreach 808902.1 Ops/sec
some 1139392.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some