Hi,
I've tried this:
a = Array.new(3,[]) => [[], [], []]
a[1].push(3) => [[3],[3],[3]]
Is this correct? a[1].push(3) is the same as a[2].push(3)? If the
constructor creates the same copy for all array elements, shouldn't the
array create copies when writing?
Thanks,
MaurùÄio