fork download
  1. a = {}
  2. b = {}
  3. setmetatable(a, b)
  4. b.__mode = "v"
  5. tabela = {}
  6. a[1] = tabela
  7. tabela = {}
  8. a[2] = tabela
  9. collectgarbage()
  10. for k, v in pairs(a) do print(v) end
  11.  
  12. --https://pt.stackoverflow.com/q/177660/101
Success #stdin #stdout 0s 4516KB
stdin
Standard input is empty
stdout
table: 0x557b4454dc30