From 09b320e8a5ec85410bf323573b76f2da7e08e2ee Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Fri, 1 Dec 2017 12:52:36 +0800 Subject: convert to number under boolean context (#2545) --- test/compress/reduce_vars.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compress/reduce_vars.js') diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js index bcfa7b35..4a098f78 100644 --- a/test/compress/reduce_vars.js +++ b/test/compress/reduce_vars.js @@ -2347,7 +2347,7 @@ booleans: { } expect: { console.log(function(a) { - if (!1); + if (0); switch (!1) { case 0: return "FAIL"; -- cgit v1.2.3