Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
4 years ago
Test name Executions per second
pop 26158846.0 Ops/sec
shift 24843824.0 Ops/sec
length 15649464.0 Ops/sec
reassignment 7315333.0 Ops/sec
.splice(0) 3412576.8 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;