Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.
/ babylon Public archive
This repository was archived by the owner on May 19, 2018. It is now read-only.

{this} should be a SyntaxError #477

@babel-bot

Description

@babel-bot

Original issue submitted by @Ginden in babel/babel#5652

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions