Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows 7
Desktop
3 years ago
Test name Executions per second
pop 23925690.0 Ops/sec
shift 23110392.0 Ops/sec
length 13830963.0 Ops/sec
reassignment 7825738.5 Ops/sec
.splice(0) 2948346.8 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)