Skip to content

Can't parse es2017 and later #12

@falsandtru

Description

@falsandtru

Acorn targets es2016 by default, not es2017 or later. You have to specify the version.

https://github.com/acornjs/acorn#main-parser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions