aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-368.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/issue-368.js')
-rw-r--r--test/compress/issue-368.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/issue-368.js b/test/compress/issue-368.js
index 5960aa64..b0491c29 100644
--- a/test/compress/issue-368.js
+++ b/test/compress/issue-368.js
@@ -1,6 +1,6 @@
collapse: {
options = {
- cascade: true,
+ collapse_vars: true,
sequences: true,
side_effects: true,
unused: true,
@@ -41,7 +41,7 @@ collapse: {
return void 0 !== ('function' === typeof b ? b() : b) && c();
}
function f2(b) {
- return b = c(), 'stirng' == typeof ('function' === typeof b ? b() : b) && d();
+ return 'stirng' == typeof ('function' === typeof (b = c()) ? b() : b) && d();
}
function f3(c) {
var a;