Skip to content

Why are AsyncFunction et al not exposed? #1417

Open
@annevk

Description

@annevk

On the HTML host side we've been moving away from having classes that are not exposed on the global object. @littledan mentioned ECMAScript has some of these, e.g., AsyncFunction. GeneratorFunction and Generator were also brought up by @bathos.

Is there a principle behind this that host environments would be encouraged to follow? Or was this done to be able to course-correct (the HTML host side has done some of that)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions