Run details:
Mozilla/5.0 (Linux; Android 8.1.0; MI PAD 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Safari/537.36
Chrome 74
Android 8.1.0
Desktop
5 years ago
Test name Executions per second
for 27413.6 Ops/sec
foreach 1143508.5 Ops/sec
some 1148250.2 Ops/sec
for..of 36643.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;