Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.64
Chrome 65
Windows
Desktop
6 years ago
Test name Executions per second
reduce 59823.1 Ops/sec
for loop 480808.6 Ops/sec
forEach 346886.5 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach