Ruby - Arrays
Identify the error in this Ruby code that tries to add an item to an array:
numbers = [1, 2, 3] numbers.add(4)
numbers = [1, 2, 3] numbers.add(4)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions