esprima icon indicating copy to clipboard operation
esprima copied to clipboard

ES2021 Logical Assignment

Open ljqx opened this issue 5 years ago • 1 comments

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 avatar Dec 07 '20 07:12 ljqx

@ariya @ljqx I think this can be closed now

Meir017 avatar Sep 19 '21 13:09 Meir017