When i write the following code:
x= [1,2,3]
x << x
puts x
puts x[3]
puts x[3][3][3][3][3][3][3][3][3][3]
I get this output:
[1, 2, 3, [...]]
[1, 2, 3, [...]]
[1, 2, 3, [...]]
Shouldn't I get only [1,2,3,[1,2,3]] and what would be the explanation?