Run details:
Mozilla/5.0 (Linux; Android 12; Mi Note 10 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
for 23437.6 Ops/sec
foreach 1854672.9 Ops/sec
some 2003236.5 Ops/sec
for..of 41830.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;