Run details:
Mozilla/5.0 (Linux; Android 9; LG-H933) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
pop 4342646.0 Ops/sec
shift 4415632.0 Ops/sec
length 2689717.0 Ops/sec
reassignment 3348043.5 Ops/sec
.splice(0) 3434142.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)