Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G930F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
Chrome Mobile 95
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
for 23324.3 Ops/sec
foreach 1384617.2 Ops/sec
some 1267741.2 Ops/sec
for..of 35287.3 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;