Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Ruby
ruby pop array
Matilda SjOdell
Programming language:
Ruby
2021-03-21 21:26:35
0
Q:
ruby pop array
Santa
Code:
Ruby
2021-07-24 03:43:49
a = [1, 2, 3, 4] a.pop() # => 4
1
Tags
array
pop()
Related
ruby push array
New to Communities?
Join the community