Skip to content

{this} should be a SyntaxError #5652

@Ginden

Description

@Ginden

Currently Babel parses {this} object literal.

It's syntax error in Chrome and Firefox.

The same applies to other keywords:

({const, if, this})

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions