Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Linux
Desktop
one month ago
Test name Executions per second
Array.prototype.slice() 18310678.0 Ops/sec
spread operator 3149178.5 Ops/sec
Array.prototype.slice(0) 18793512.0 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.slice()

  • spread operator

  • Array.prototype.slice(0)