Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Linux
Desktop
3 years ago
Test name Executions per second
reduce 137484.0 Ops/sec
for loop 211257.8 Ops/sec
forEach 58471.1 Ops/sec
for...of 21525.9 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • for...of