Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Mac OS X 10.14
Desktop
3 years ago
Test name Executions per second
pop 124192984.0 Ops/sec
shift 594946880.0 Ops/sec
length 36594340.0 Ops/sec
reassignment 75801192.0 Ops/sec
.splice(0) 20709052.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)