Run details:
Mozilla/5.0 (Linux; Android 11; moto g fast) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.87 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
pop 3413333.8 Ops/sec
shift 3483975.5 Ops/sec
length 2082519.9 Ops/sec
reassignment 2492218.8 Ops/sec
.splice(0) 2674525.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)