Talk:Ruby- Remove Elements From An Array/@comment-89.36.65.147-20200617013320

this was helpful but i was a bit confused by how .pop and .shift are described - " it should return A = [2,3,4,5,6] " sounds like it's returning the array without the removed element, but the method actually returns the removed element itself, not the array