Run details:
Mozilla/5.0 (Linux; Android 12; CPH2219 Build/RKQ1.211119.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.71 Mobile Safari/537.36 [FB_IAB/Orca-Android;FBAV/370.0.0.14.108;]
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
for 19250.9 Ops/sec
foreach 1068019.6 Ops/sec
some 1110211.1 Ops/sec
for..of 33105.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;