Run details:
Mozilla/5.0 (Linux; Android 10; SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
foreach 5543.5 Ops/sec
for 3363.9 Ops/sec
for of 6579.0 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • for of


;