-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
component:runtimeThis issue is related to the runtime.This issue is related to the runtime.enhancementNew feature or requestNew feature or request
Milestone
Description
Turns out, detecting if a given function exists is really hard if there's no way to detect if a given feature exists in the global scope if that immediately fails.
Implement a "globalThis", "_G" which lets you access the scope as an object.
If the global scope is immutable, it'll return a copy of the map as an object, otherwise it'll return the map itself (so you can .remove stuff from the scope lol)
Metadata
Metadata
Assignees
Labels
component:runtimeThis issue is related to the runtime.This issue is related to the runtime.enhancementNew feature or requestNew feature or request