Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Fedora
Desktop
4 years ago
Test name Executions per second
Array.prototype.slice() 8367713.5 Ops/sec
spread operator 1496248.2 Ops/sec
Array.prototype.slice(0) 8177239.0 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.slice()

  • spread operator

  • Array.prototype.slice(0)


;