Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
Firefox 55
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
Spread operator 2738480.2 Ops/sec
Array.prototype.reduce() 2862671.8 Ops/sec
Script Preparation code:
Tests:
  • Spread operator

  • Array.prototype.reduce()


;