Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Chrome 92
Linux
Desktop
3 years ago
Test name Executions per second
pop 17946588.0 Ops/sec
shift 17938466.0 Ops/sec
length 9373765.0 Ops/sec
reassignment 12284363.0 Ops/sec
.splice(0) 10692971.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)