Assigning a value to array[3, 0] did not replace any element in the array; it inserted a new element starting at index 3 instead.
array = ["Hello", "there", "AAA", 1, 2, 3] array[3, 0] = "pie" puts array