Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Windows 8.1
Desktop
4 years ago
Test name Executions per second
reduce 402513.8 Ops/sec
for loop 650295.8 Ops/sec
forEach 118359.7 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach