Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0
Firefox 69
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
Array.prototype.slice 34623.1 Ops/sec
spread operator 22666.0 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.slice

  • spread operator