I am trying to do something like this:
a = b = c = []
a << 1
Now I am expecting that b and c will be an empty array, whereas a will have one element. But its not working like that, here b and c also contains the same element, how is it working like this?
a,b, andcall refer to the same array.a, b = c, d.