Answers for "ruby pop first element"

1

ruby pop array

a = [1, 2, 3, 4]
a.pop()
# => 4
Posted by: Guest on June-17-2020

Browse Popular Code Answers by Language