Run details:
Mozilla/5.0 (Linux; Android 10; Mi Pad 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Chrome 92
Android
Desktop
3 years ago
Test name Executions per second
for 21635.2 Ops/sec
foreach 1143862.0 Ops/sec
some 1170691.9 Ops/sec
for..of 36463.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;