Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Chrome 74
Mac OS X 10.13.5
Desktop
5 years ago
Test name Executions per second
Array.prototype.slice Array.prototype.concat 4445608.0 Ops/sec
spread operator 2963277.8 Ops/sec
Tests:
  • Array.prototype.slice Array.prototype.concat

  • spread operator