DEV Community

Discussion on: Splice! Slice! Shoot, I meant Shift!

Collapse
 
laurieontech profile image
Laurie

Pop() removes an item from the end of the array and shift() removes an item from the beginning of it.