Run details:
Mozilla/5.0 (Linux; Android 11; KB2001) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
pop 10998399.0 Ops/sec
shift 11149407.0 Ops/sec
length 6512428.5 Ops/sec
reassignment 8278568.0 Ops/sec
.splice(0) 8337145.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)