Run details:
Mozilla/5.0 (Android 10; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android
Mobile
one year ago
Test name Executions per second
array.slice() 29415086.0 Ops/sec
array.splice() 20973312.0 Ops/sec
array.shift() 63962196.0 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()