3 ms·
It's one of several decisions that make Lua's type system easy to reason about. Another one is that environments themselves are simply tables, the global is _G
by samatman 8y ago
It's one of several decisions that make Lua's type system easy to reason about. Another one is that environments themselves are simply tables, the global is _G, and environments can be set and retrieved on functions.
Kinda like mutable Mars ^_^