Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Chrome 88
Linux
Desktop
3 years ago
Test name Executions per second
pop 11525150.0 Ops/sec
shift 12042795.0 Ops/sec
length 5941119.5 Ops/sec
reassignment 7080407.5 Ops/sec
.splice(0) 5662495.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)