re: Splice! Slice! Shoot, I meant Shift! VIEW POST

TOP OF THREAD FULL DISCUSSION
re: What's the difference between .shift() and .pop()?
 

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

code of conduct - report abuse