Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SM-J500G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
Chrome Mobile 74
Android 6.0.1
Mobile
5 years ago
Test name Executions per second
for 6820.6 Ops/sec
foreach 246507.9 Ops/sec
some 247097.9 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some