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
Uglify version 3.4.9
JavaScript input
// test.js var a, b, c; function test() { console.log(arguments[0]) } if (1 == c) { a = 1; b = 2; } else { a = 0; b = 1; } test(a, b, 3);
The uglifyjs CLI command executed or minify() options used.
uglifyjs
minify()
uglifyjs test.js -c -m -o test.min.js
JavaScript output or error produced.
// test.min.js var a,b,c;function test(){console.log(arguments[0])}test(a,b=1==c?(a=1,2):(a=0,1),3);
Expect the console to print 0, but actually print undefined.
Sorry my english.
The text was updated successfully, but these errors were encountered:
fix corner case in collapse_vars
collapse_vars
cd35327
fixes mishoo#3247 fixes mishoo#3305 fixes mishoo#3314 fixes mishoo#3327
fix corner case in collapse_vars (#3333)
d074aa6
fixes #3247 fixes #3305 fixes #3314 fixes #3327
Successfully merging a pull request may close this issue.
Bug report
Uglify version 3.4.9
JavaScript input
The
uglifyjs
CLI command executed orminify()
options used.JavaScript output or error produced.
Expect the console to print 0, but actually print undefined.
Sorry my english.
The text was updated successfully, but these errors were encountered: