fork download
  1. foo = [[nil]*5]*5
  2. foo[0][0] = 'bar'
  3. p foo
Success #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
[["bar", nil, nil, nil, nil], ["bar", nil, nil, nil, nil], ["bar", nil, nil, nil, nil], ["bar", nil, nil, nil, nil], ["bar", nil, nil, nil, nil]]