Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Windows 7
Desktop
4 years ago
Test name Executions per second
pop 156947280.0 Ops/sec
shift 251167328.0 Ops/sec
length 27564930.0 Ops/sec
reassignment 39435848.0 Ops/sec
.splice(0) 19895664.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)