aboutsummaryrefslogtreecommitdiff
path: root/test/compress/sequences.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/sequences.js')
-rw-r--r--test/compress/sequences.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/compress/sequences.js b/test/compress/sequences.js
index 861ed5a6..cc05fd7b 100644
--- a/test/compress/sequences.js
+++ b/test/compress/sequences.js
@@ -727,8 +727,7 @@ side_effects_cascade_1: {
}
expect: {
function f(a, b) {
- (a -= 42) < 0 && (a = 0),
- b.a = a;
+ b.a = a = (a -= 42) < 0 ? 0 : a;
}
var m = {}, n = {};
f(13, m),