Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
pop 7341526.0 Ops/sec
shift 7308739.0 Ops/sec
length 3949234.0 Ops/sec
reassignment 5178721.5 Ops/sec
.splice(0) 5143175.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)