Skip to content

allowAwaitOutsideFunction parser option #7634

@jdalton

Description

@jdalton

Just as there's a loose mode to allow top-level return it would be nice to have some kind of loose mode, allowAwaitEverywhere, or allowAwaitOutsideFunction option for top-level await.

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions