0
Q:

ruby pop array

a = [1, 2, 3, 4]
a.pop()
# => 4
1

Tags

Related

New to Communities?

Join the community