Run details:
Mozilla/5.0 (Linux; Android 10; Mi Note 10 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.86 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
for 34617.6 Ops/sec
foreach 1760258.0 Ops/sec
some 1762172.8 Ops/sec
for..of 56215.9 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;