Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
pop 125854648.0 Ops/sec
shift 467477536.0 Ops/sec
length 32938724.0 Ops/sec
reassignment 77328400.0 Ops/sec
.splice(0) 21729314.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)