Skip to content

qjs -m -e <expr> should evaluate expression as module #862

Closed
@bnoordhuis

Description

@bnoordhuis

Right now, it evaluates it as a classic script. That is, qjs -m -e 'await 42' fails with the same cryptic parse error as #833.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions