Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Ubuntu
Desktop
4 years ago
Test name Executions per second
pop 117226536.0 Ops/sec
shift 405541408.0 Ops/sec
length 28431952.0 Ops/sec
reassignment 51817408.0 Ops/sec
.splice(0) 13175354.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)