Run details:
Mozilla/5.0 (Linux; Android 10; Redmi K20 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36 OPR/57.2.2830.52651
Opera Mobile 57
Android
Mobile
4 years ago
Test name Executions per second
for 51966.7 Ops/sec
foreach 2380480.2 Ops/sec
some 2448385.5 Ops/sec
for..of 87355.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;