Skip to content

Instantly share code, notes, and snippets.

@red-001
Created January 3, 2018 21:35
Show Gist options
  • Save red-001/493937b94dcdcea867b309872325fe61 to your computer and use it in GitHub Desktop.
Save red-001/493937b94dcdcea867b309872325fe61 to your computer and use it in GitHub Desktop.
local new_env = {}
for k, v in pairs(_G) do new_env[k] = v end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment