A function environment are the global variables a function has. By default (when you don't set it) all function environments inherit from the top-level function's environment (environments are inherited from enclosing functions) which is the global environment. (getfenv(0)) docs.google dot com/document/d/1A1SBjRqFKFxaw7_RnsI96CKzBCcAOkuDPOTG8DIZywA |