Run details:
Mozilla/5.0 (Linux; Android 12; SM-A528N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
for 42263.5 Ops/sec
foreach 2465658.2 Ops/sec
some 2585844.8 Ops/sec
for..of 72633.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;