Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36
Chrome 62
Windows
Other
2025 years ago
Test name Executions per second
pop 7604087.0 Ops/sec
shift 8552576.0 Ops/sec
length 4641721.5 Ops/sec
reassignment 5235803.0 Ops/sec
.splice(0) 3834633.2 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)