Skip to content

Should Temporal objects be polyfilled into the global namespace? #2

Open
@justingrant

Description

@justingrant

Currently, this polyfill requires import-ing or require-ing to use. Another option could be to polyfill Temporal into the global namespace.

tc39/proposal-temporal#778 has discussion about why we didn't do this so far.

But as browsers start shipping Temporal, it may make sense to have this polyfill more closely match built-in behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions