How does `.pop()` work?

4 posts were split to a new topic: Computer Science path has never referred to or explained the pop method