Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Chrome 86
Linux
Desktop
4 years ago
Test name Executions per second
pop 12442368.0 Ops/sec
shift 12376606.0 Ops/sec
length 7787676.5 Ops/sec
reassignment 8527785.0 Ops/sec
.splice(0) 8805566.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)