Ruby - Arrays
Which Ruby array method removes the last element from an array?
pop.shift removes the first element, push adds to the end, and unshift adds to the beginning.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions