Translations:Extension:Scribunto/Lua reference manual/2376/en

foo = 1 mw.log( foo ) -- logs "1" _G.foo = 2 mw.log( foo ) -- logs "2" _G = {}      -- _G no longer points to the global variable table _G.foo = 3 mw.log( foo ) -- still logs "2"