Run details:
Mozilla/5.0 (Linux; Android 11; GM1913) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
pop 7989851.5 Ops/sec
shift 8103278.5 Ops/sec
length 4533420.0 Ops/sec
reassignment 5826236.0 Ops/sec
.splice(0) 5736502.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)