We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report or Feature request? Bug report
Bug report
Version (4.3.1)
Complete CLI command or minify() options used
minify()
// options { toplevel: true, compress: { passes: 5, pure_getters: true }, }
terser input
terser
const foo = () => { let a; { let b = []; { console.log(); } a = b; { let c = a; let b = 123456; console.log(b); c.push(b); } } }; foo();
terser output or error
(()=>{let o;console.log();{let l=o=n,n=123456;console.log(n),l.push(n)}})()
// err Uncaught ReferenceError: Cannot access 'n' before initialization
Expected result
The text was updated successfully, but these errors were encountered:
Excellent report, thanks!
Sorry, something went wrong.
add test after closing #508
b3a74da
This has been fixed and is out now as 4.4.1. Thank you!
No branches or pull requests
Bug report or Feature request?
Bug report
Version (4.3.1)
Complete CLI command or
minify()
options usedterser
inputterser
output or errorExpected result
The text was updated successfully, but these errors were encountered: