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() 168007.8 Ops/sec
spread operator 343047.0 Ops/sec
Array.prototype.slice(0) 172542.3 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.slice()

  • spread operator

  • Array.prototype.slice(0)


;