1 2 3 4 5 6 7
setmetatable(_G, {__index = function(t,k) print(k) end}) a=1 print(a) print(b)
1 2 3
1 b nil