Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 YaBrowser/18.4.1.868 Yowser/2.5 Safari/537.36
Yandex Browser 18
Mac OS X 10.12.6
Desktop
6 years ago
Test name Executions per second
reduce 55273.0 Ops/sec
for loop 545627.3 Ops/sec
forEach 398003.9 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach