Skip to content

Instantly share code, notes, and snippets.

@wakemaster39
Created February 8, 2014 17:15
Show Gist options
  • Save wakemaster39/8886954 to your computer and use it in GitHub Desktop.
Save wakemaster39/8886954 to your computer and use it in GitHub Desktop.
global manipulating in scopes
TEST ={t={}}
do
print(TEST.t.stolen)
local test = TEST.t
test.stolen = true
print(TEST.t.stolen)
end
output:
nil
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment