Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Ubuntu
Desktop
3 years ago
Test name Executions per second
pop 10048113.0 Ops/sec
shift 10120052.0 Ops/sec
length 5890038.5 Ops/sec
reassignment 6887661.5 Ops/sec
.splice(0) 7831004.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)