Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Chrome 78
Linux
Desktop
4 years ago
Test name Executions per second
pop 14500310.0 Ops/sec
shift 14687787.0 Ops/sec
length 6622156.0 Ops/sec
reassignment 9038961.0 Ops/sec
.splice(0) 8260947.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)