x = "global" local x = { f = function() return x end } print(x.f()) local y = { f = function() return y end } y = y print(tostring(y.f()))