aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1609.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/issue-1609.js')
-rw-r--r--test/compress/issue-1609.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/compress/issue-1609.js b/test/compress/issue-1609.js
index da4b54a2..dffa54a5 100644
--- a/test/compress/issue-1609.js
+++ b/test/compress/issue-1609.js
@@ -18,9 +18,7 @@ chained_evaluation_1: {
expect: {
(function() {
(function() {
- var c;
- c = f(1);
- c.bar = 1;
+ f(1).bar = 1;
})();
})();
}
@@ -46,9 +44,8 @@ chained_evaluation_2: {
expect: {
(function() {
(function() {
- var c, b = "long piece of string";
- c = f(b);
- c.bar = b;
+ var b = "long piece of string";
+ f(b).bar = b;
})();
})();
}