Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Linux
Desktop
5 years ago
Test name Executions per second
reduce 620952.8 Ops/sec
for loop 870239.8 Ops/sec
forEach 447013.9 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach