Open Le0Developer opened 1 year ago
Describe the bug:
Compiles invalid JS
Config and Small code sample
Config:
{ target: "node", preset: "high" }
Code:
(a ?? {}) && ""
Expected behavior
Compiles to (a??{})&&''
(a??{})&&''
Actual behavior
Compiles to a??{}&&'' which is invalid.
a??{}&&''
I believe this error has to do with escodegen or acorn, not with the obfuscator itself. I don't know how to fix this.
Describe the bug:
Compiles invalid JS
Config and Small code sample
Config:
Code:
Expected behavior
Compiles to
(a??{})&&''
Actual behavior
Compiles to
a??{}&&''
which is invalid.