Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.2) Gecko/20100101 Firefox/60.2
Firefox 60
Windows
Desktop
5 years ago
Test name Executions per second
for 47518.2 Ops/sec
foreach 62919.1 Ops/sec
some 68361.8 Ops/sec
for..of 49095.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;