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
Fix incorrect parsing of optional chaining when followed by a bracket notation.
Input - expected output should not change
let a;
a ||= 1;
a &&= 2;
a ??= 3;
const b = a?.[keyName];
Actual (not expected) output
let a;
a || = 1;
a && = 2;
a ?? = 3;
const b = a?. [keyName];
P.S.
I've opened a PR for the logical operators support. It failed one of the automated tests, although if you look at the commit it's clear the commit didn't trigger the fail because the changes are very minor.
Thanks!
The text was updated successfully, but these errors were encountered:
Input - expected output should not change
Actual (not expected) output
P.S.
I've opened a PR for the logical operators support. It failed one of the automated tests, although if you look at the commit it's clear the commit didn't trigger the fail because the changes are very minor.
Thanks!
The text was updated successfully, but these errors were encountered: