Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
one year ago
Test name Executions per second
Array.prototype.slice() 164808.6 Ops/sec
spread operator 344246.8 Ops/sec
Array.prototype.slice(0) 171773.1 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.slice()

  • spread operator

  • Array.prototype.slice(0)


;