Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- foo.lua
- global = 1
- require('./bar')
- -- bar.lua
- print(global)
- =====
- lua foo.lua => 1
- luvit foo.lua => nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement