Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Windows
Desktop
4 years ago
Test name Executions per second
Array.prototype.slice 16639980.0 Ops/sec
Array.prototype.slice(0) 16082298.0 Ops/sec
spread operator 14770343.0 Ops/sec
Tests:
  • Array.prototype.slice

  • Array.prototype.slice(0)

  • spread operator