Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
pop 163764688.0 Ops/sec
shift 259564816.0 Ops/sec
length 30938594.0 Ops/sec
reassignment 42881704.0 Ops/sec
.splice(0) 20676290.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)