Closed znewsham closed 1 year ago
astring.generate(acorn.parse('const x = (a && a.b) ?? c'))
In version 1.8.4 the output is
const x = (a && a.b) ?? c;
In 1.8.5 the (invalid) output is
const x = a && a.b ?? c;
Thanks for reporting this @znewsham.
Motivation
Expected behavior
In version 1.8.4 the output is
Actual behavior
In 1.8.5 the (invalid) output is