Run details:
Mozilla/5.0 (Linux; Android 13; SM-G991B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
for 28940.3 Ops/sec
foreach 1389912.1 Ops/sec
for in 1189002.4 Ops/sec
for..of 39043.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;