aboutsummaryrefslogtreecommitdiff
path: root/test/compress/functions.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-06-27 23:53:42 +0800
committerGitHub <noreply@github.com>2017-06-27 23:53:42 +0800
commitf0a99125eef4a95a3c4bead81b3bf9a99b207019 (patch)
treeef1ddd4d767477cacc095e7a22c71ef71cc9071b /test/compress/functions.js
parent1e4de2e6d31a50dafee4a4e4d020f22691d22292 (diff)
downloadtracifyjs-f0a99125eef4a95a3c4bead81b3bf9a99b207019.tar.gz
tracifyjs-f0a99125eef4a95a3c4bead81b3bf9a99b207019.zip
improve `unsafe_Func` (#2171)
- minimise disturbance to `compute_char_frequency()` - remove extraneous quotation marks
Diffstat (limited to 'test/compress/functions.js')
-rw-r--r--test/compress/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js
index b5def8e1..c8efc12c 100644
--- a/test/compress/functions.js
+++ b/test/compress/functions.js
@@ -265,7 +265,7 @@ issue_203: {
}
expect: {
var m = {};
- var fn = Function("n", "o", "o.exports=42");
+ var fn = Function("n,o", "o.exports=42");
fn(null, m, m.exports);
console.log(m.exports);
}