Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Windows 8.1
Desktop
4 years ago
Test name Executions per second
reduce 136523.6 Ops/sec
for loop 513588.3 Ops/sec
forEach 229635.4 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach