Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Windows
Desktop
4 years ago
Test name Executions per second
pop 95434848.0 Ops/sec
shift 136473008.0 Ops/sec
length 15401614.0 Ops/sec
reassignment 20442178.0 Ops/sec
.splice(0) 8681245.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)