Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created October 19, 2010 10:11
Show Gist options
  • Save garybernhardt/633959 to your computer and use it in GitHub Desktop.
Save garybernhardt/633959 to your computer and use it in GitHub Desktop.
x = function()
y = function()
local table = 5
end
local old_table = table
y()
assert(table == old_table and table ~= 5)
end
x()
@nbarendt
Copy link

Ben, thanks, forgot my Markdown :-(
(or to preview before submitting, :-((

@benjaminws
Copy link

S'cool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment