This commit is contained in:
Alex Lam S.L 2018-01-23 05:45:45 +08:00 committed by GitHub
parent ec4202590d
commit 95cfce68ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1642,7 +1642,7 @@ merge(Compressor.prototype, {
var stat = null;
for (var i = 0, len = block.body.length; i < len; i++) {
var line = block.body[i];
if (line instanceof AST_Definitions && declarations_only(line)) {
if (line instanceof AST_Var && declarations_only(line)) {
decls.push(line);
} else if (stat) {
return false;