From 4ffb6fce7668a1199284e4ce8be91fdaeaf2df0e Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 17 Apr 2017 17:11:29 +0800 Subject: compress duplicated variable definitions (#1817) These are surprisingly common, as people reuse the same variable name within loops or switch branches. --- test/compress/reduce_vars.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/compress/reduce_vars.js') diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js index 405dbc23..82b00211 100644 --- a/test/compress/reduce_vars.js +++ b/test/compress/reduce_vars.js @@ -1639,7 +1639,7 @@ redefine_arguments_1: { return typeof arguments; } function g() { - return"number"; + return "number"; } function h(x) { var arguments = x; @@ -1951,7 +1951,6 @@ pure_getters_2: { var a = a && a.b; } expect: { - var a; var a = a && a.b; } } -- cgit v1.2.3