getgenv
getgenv polluting
Modifications to a thread's global environment should not affect getgenv
.
getgenv
returns the executor's global environment table, which is shared across all executor-made threads.
This environment is writable and persistent during the session, making it useful for sharing state or functions across different scripts.
Parameters
Parameter | Description |
---|---|
(none) | This function takes no parameters. |