Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Windows
Desktop
6 years ago
Test name Executions per second
reduce 301737.6 Ops/sec
for loop 595129.2 Ops/sec
forEach 369824.1 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach


;