You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parenthesis is not preserved in case of logical expression
I'm using acorn for parsing.
Ex: const v = (e ?? null) && f.createElement() is getting reduced to const v = e ?? null && f.createElement()
I checked the code. apparently issue seems to be with precedence
?? should have lower precedence than &&
not sure if there are more bugs related to parenthesis preserving
I also wanted to know what's the long term support plan for astring ?
i see last release was in dec 2021.
are we planning to maintain it for future ecma releases ?
The text was updated successfully, but these errors were encountered:
Parenthesis is not preserved in case of logical expression
I'm using acorn for parsing.
Ex: const v = (e ?? null) && f.createElement() is getting reduced to const v = e ?? null && f.createElement()
I checked the code. apparently issue seems to be with precedence
?? should have lower precedence than &&
not sure if there are more bugs related to parenthesis preserving
I also wanted to know what's the long term support plan for astring ?
i see last release was in dec 2021.
are we planning to maintain it for future ecma releases ?
The text was updated successfully, but these errors were encountered: