Run details:
Mozilla/5.0 (Linux; Android 10; Mi Pad 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Safari/537.36
Chrome 88
Android
Desktop
3 years ago
Test name Executions per second
for 23353.4 Ops/sec
foreach 1002744.0 Ops/sec
some 1028831.4 Ops/sec
for..of 39266.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;