Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-A510F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3200.0 Mobile Safari/537.36
Chrome Mobile 62
Android 7.0
Samsung SM-A510F
7 years ago
Test name Executions per second
Spread operator 290806.2 Ops/sec
Array.prototype.reduce() 58124.2 Ops/sec
Script Preparation code:
Tests:
  • Spread operator

  • Array.prototype.reduce()


;