Run details:
Mozilla/5.0 (Linux; Android 7.0; BLN-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.111 Mobile Safari/537.36
Chrome Mobile 84
Android 7.0
Mobile
4 years ago
Test name Executions per second
for 10447.4 Ops/sec
foreach 434664.1 Ops/sec
some 435742.5 Ops/sec
for..of 16816.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;