Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES2021 Logical Assignment #2057

Open
ljqx opened this issue Dec 7, 2020 · 1 comment · May be fixed by #2082
Open

ES2021 Logical Assignment #2057

ljqx opened this issue Dec 7, 2020 · 1 comment · May be fixed by #2082

Comments

@ljqx
Copy link
Contributor

ljqx commented Dec 7, 2020

Steps to reproduce

esprima.parse('a ||= b;')

Expected output

A syntax tree.

Actual output

Error: Line 1: Unexpected token =

Relevant references

Proposal: https://github.com/tc39/proposal-logical-assignment
ESTree: https://github.com/estree/estree/blob/master/es2021.md#assignmentoperator

@ljqx ljqx linked a pull request May 13, 2021 that will close this issue
@Meir017
Copy link
Contributor

Meir017 commented Sep 19, 2021

@ariya @ljqx I think this can be closed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants