public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e87edf
)
workaround stack overflow in ChakraCore (#3101)
author
Alex Lam S.L
<alexlamsl@gmail.com>
Thu, 26 Apr 2018 07:02:17 +0000
(15:02 +0800)
committer
GitHub
<noreply@github.com>
Thu, 26 Apr 2018 07:02:17 +0000
(15:02 +0800)
test/mocha/parentheses.js
patch
|
blob
|
history
diff --git
a/test/mocha/parentheses.js
b/test/mocha/parentheses.js
index
a3ef860
..
7646e28
100644
(file)
--- a/
test/mocha/parentheses.js
+++ b/
test/mocha/parentheses.js
@@
-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, {