Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Linux
Desktop
4 years ago
Test name Executions per second
pop 283975424.0 Ops/sec
shift 362713664.0 Ops/sec
length 42050620.0 Ops/sec
reassignment 75089488.0 Ops/sec
.splice(0) 22127664.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)