Update read-only-environment.md

This commit is contained in:
Gael 2023-08-02 20:12:43 +01:00 committed by GitHub
parent 97dbcf5926
commit d9d3b1dc20
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,3 +29,5 @@ Works identically to `getfenv` but only provides read-only access to the functio
Type-checking can be difficult. Type-checking can be difficult.
Roblox's marketplace currently hides assets that use `getfenv` so it would need to be updated to hide assets with `_ENV`/`getenv`/`getrenv`. Roblox's marketplace currently hides assets that use `getfenv` so it would need to be updated to hide assets with `_ENV`/`getenv`/`getrenv`.
Environments can have metamethods of their own which may not interface well with a read-only `getenv`/`getrenv`.