Ruby - Arrays
Why does
arr[-1] return the last element in Ruby arrays?arr[-1] return the last element in Ruby arrays?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions