Run details:
Mozilla/5.0 (Linux; Android 12; SM-N975U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
for 38309.2 Ops/sec
foreach 1911205.8 Ops/sec
some 1972863.6 Ops/sec
for..of 52272.3 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;