Closed Le0Developer closed 1 year ago
Describe the bug:
BigInt literals (like 1n) are converted to normal numbers (1).
1n
1
Config and Small code sample
Config:
{ "compact": true, "hexadecimalNumbers": true, "identifierGenerator": "randomized", "minify": true, "shuffle": "false", "target": "browser" }
Code:
console.log(1n);
Expected behavior
Compiles to console.log(1n)
console.log(1n)
Actual behavior
Compiles to console.log(1)
console.log(1)
Good find, I will start working on this now.
Describe the bug:
BigInt literals (like
1n
) are converted to normal numbers (1
).Config and Small code sample
Config:
Code:
Expected behavior
Compiles to
console.log(1n)
Actual behavior
Compiles to
console.log(1)