Skip to content

Create a "globalThis" of some sort on Lin. #18

@NotJustAnna

Description

@NotJustAnna

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

No one assigned

    Labels

    component:runtimeThis issue is related to the runtime.enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions