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
ES5 or ES6+ input?: ES5+
Uglify version (uglifyjs -V): uglify-js 2.8.12
uglifyjs -V
JavaScript input
var xmlHttpReq = new ActiveXObject("MSXML2.XMLHTTP.6.0"); if (typeof xmlHttpReq.setRequestHeader != "undefined") { console.log("works") }
Testing this on IE11. This code prints "works".
The uglifyjs CLI command executed or minify() options used.
uglifyjs
minify()
uglifyjs --compress --mangle --ie8
JavaScript output or error produced. JS output: void 0!==new ActiveXObject("MSXML2.XMLHTTP.6.0").setRequestHeader&&console.log("works");
Output error when this was run on IE11: "Wrong number of arguments or invalid property assignment"
The text was updated successfully, but these errors were encountered:
Not reproducible in latest version of uglify-js
uglify-js
Sorry, something went wrong.
Thanks a lot for your response!
No branches or pull requests
Bug report or feature request?: Bug report
ES5 or ES6+ input?: ES5+
Uglify version (
uglifyjs -V
): uglify-js 2.8.12JavaScript input
var xmlHttpReq = new ActiveXObject("MSXML2.XMLHTTP.6.0");
if (typeof xmlHttpReq.setRequestHeader != "undefined") {
console.log("works")
}
Testing this on IE11. This code prints "works".
The
uglifyjs
CLI command executed orminify()
options used.uglifyjs --compress --mangle --ie8
JavaScript output or error produced.
JS output:
void 0!==new ActiveXObject("MSXML2.XMLHTTP.6.0").setRequestHeader&&console.log("works");
Output error when this was run on IE11:
"Wrong number of arguments or invalid property assignment"
The text was updated successfully, but these errors were encountered: