diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-04-26 15:02:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 15:02:17 +0800 |
commit | 0a79496e0a2b0fb7739fc757e4e33d652694a6b5 (patch) | |
tree | b4eb45135dd3f5bc243dcd3d7b1de01541a8c8c7 /test/mocha | |
parent | 9e87edfc2ef1ce0e517d5f2a5e2d30ed199d13c8 (diff) | |
download | tracifyjs-0a79496e0a2b0fb7739fc757e4e33d652694a6b5.tar.gz tracifyjs-0a79496e0a2b0fb7739fc757e4e33d652694a6b5.zip |
workaround stack overflow in ChakraCore (#3101)
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/parentheses.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/parentheses.js b/test/mocha/parentheses.js index a3ef8604..7646e284 100644 --- 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, { |