what not
0
Q:

how to call the last array in ruby

array = [1, 2, 3]
array.last
2
array = [1, 2, 3]
array[-1]
0

New to Communities?

Join the community