Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Linux
Desktop
3 years ago
Test name Executions per second
pop 217891008.0 Ops/sec
shift 349226688.0 Ops/sec
length 43746960.0 Ops/sec
reassignment 60622864.0 Ops/sec
.splice(0) 23897754.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)