Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby pop array

a = [1, 2, 3, 4]
a.pop()
# => 4
 
PREVIOUS NEXT
Tagged: #ruby #pop #array
ADD COMMENT
Topic
Name
5+6 =