Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3738.4 Safari/537.36
Chrome 75
Mac OS X 10.14.3
Desktop
5 years ago
Test name Executions per second
pop 13371001.0 Ops/sec
shift 13958845.0 Ops/sec
length 7395162.5 Ops/sec
reassignment 8035239.0 Ops/sec
.splice(0) 9644422.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;