Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Firefox 64
Windows
Desktop
6 years ago
Test name Executions per second
reduce 475167.6 Ops/sec
for loop 1048328.3 Ops/sec
forEach 456537.1 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach