Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36
Chrome 81
Windows 7
Desktop
3 years ago
Test name Executions per second
reduce 77160.5 Ops/sec
for loop 1123097.8 Ops/sec
forEach 672994.2 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach


;