Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Chrome 89
Windows 7
Desktop
3 years ago
Test name Executions per second
pop 5109974.5 Ops/sec
shift 5162741.5 Ops/sec
length 3335962.2 Ops/sec
reassignment 3346183.0 Ops/sec
.splice(0) 4206268.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;