You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)The text was updated successfully, but these errors were encountered: