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
collapse_vars
undefined
Bug report or feature request?
Bug report
ES5 or ES6+ input?
ES5
Uglify version (uglifyjs -V)
uglifyjs -V
uglify-js 3.0.28
JavaScript input
var c = 0; !function() { function f7() { var Math_1_1 = undefined; var undefined = Math_1_1++; try { !function f8(bar_1) { bar_1[true] = "foo"; }(); } catch (e) { c = c + 1; } } f7(); }(); console.log(c);
The uglifyjs CLI command executed or minify() options used.
uglifyjs
minify()
uglifyjs test.js -b bracketize -c
JavaScript output or error produced.
$ echo test.js | node 1 $ uglifyjs test.js -b bracketize -c | node 0
The text was updated successfully, but these errors were encountered:
fix collapse_vars on default function argument
57f612b
Avoid collision with local variable `undefined` under certain corner cases. fixes mishoo#2298
fix collapse_vars on default function argument (#2299)
395a17c
Avoid collision with local variable `undefined` under certain corner cases. fixes #2298
Good to see the fuzzer is still finding bugs.
Sorry, something went wrong.
@kzc indeed - though I'll need to wait for next weekend before trying to make a release again.
Successfully merging a pull request may close this issue.
Bug report or feature request?
Bug report
ES5 or ES6+ input?
ES5
Uglify version (
uglifyjs -V
)uglify-js 3.0.28
JavaScript input
The
uglifyjs
CLI command executed orminify()
options used.uglifyjs test.js -b bracketize -c
JavaScript output or error produced.
The text was updated successfully, but these errors were encountered: