workaround stack overflow in ChakraCore (#3101)

This commit is contained in:
Alex Lam S.L 2018-04-26 15:02:17 +08:00 committed by GitHub
parent 9e87edfc2e
commit 0a79496e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ describe("parentheses", function() {
"(function(){}).name;",
];
for (var i = 16; --i >= 0;) {
[].push.apply(code, code);
code = code.concat(code);
}
code = code.join("");
var result = uglify.minify(code, {