aboutsummaryrefslogtreecommitdiff
path: root/test/compress/sequences.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-04-25 04:14:21 +0800
committerGitHub <noreply@github.com>2019-04-25 04:14:21 +0800
commita206964c0a69776e498ba838e55d0f85946cd27e (patch)
tree7ed1a96e5ed372099935193d370f8a5150abc2ff /test/compress/sequences.js
parentc56d89f804e852f8678fa7557f781de893c138bf (diff)
downloadtracifyjs-a206964c0a69776e498ba838e55d0f85946cd27e.tar.gz
tracifyjs-a206964c0a69776e498ba838e55d0f85946cd27e.zip
enhance `side_effects` (#3383)
Diffstat (limited to 'test/compress/sequences.js')
-rw-r--r--test/compress/sequences.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/sequences.js b/test/compress/sequences.js
index 0670ab53..29cede40 100644
--- a/test/compress/sequences.js
+++ b/test/compress/sequences.js
@@ -702,7 +702,7 @@ side_effects_cascade_3: {
}
expect: {
function f(a, b) {
- !(b += a) && ((b = a) || (b -= a, b ^= a)),
+ (b += a) || (b = a) || (b -= a, b ^= a),
a--;
}
}