esprima
esprima copied to clipboard
Support ES2021 Logical Assignment
This PR fixes #2057.
scanner.tsis updated to accept&&=,||=,??=.parser.tsis updated to treat&&=,||=,??=as assignment operator.- Unit tests and test-262 whitelist are updated.
@ljqx can you please rebase this against master to make sure the optional attribute is not missing in the JSON tree presentation?
@ariya I've tested this on .NET side and successfully integrated to Jint codebase, passing all tests related to logical assignment.