Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586
Edge 13.10586
Windows
Desktop
6 years ago
Test name Executions per second
reduce 774321.4 Ops/sec
for loop 772035.4 Ops/sec
forEach 485581.5 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach