Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing error in exponent expressions with unary left-hand sides.
Esprima (correctly) rejects expressions like -1**2. - jquery/esprima#2070 However, expressions like (-1)**2 are valid but still rejected. This commit fixes this issue by identifying when the left operand is parenthesized. Fixes jquery/esprima#1981
- Loading branch information