Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Chrome 98
Windows 7
Desktop
2 years ago
Test name Executions per second
pop 10719410.0 Ops/sec
shift 10849040.0 Ops/sec
length 6036130.5 Ops/sec
reassignment 8053370.0 Ops/sec
.splice(0) 7710470.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;