Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
5 years ago
Test name Executions per second
reduce 4471.0 Ops/sec
for loop 4869.5 Ops/sec
forEach 4404.0 Ops/sec
decrement while 5030.9 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • decrement while


;