From 9fc1c4b3b5804fa77a3d739126520d8fc7a0956f Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Mon, 27 Feb 2017 06:23:12 +0800 Subject: [PATCH] update test top-level block-variables not within blocks are global variables --- test/compress/block-scope.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/compress/block-scope.js b/test/compress/block-scope.js index cc2c316f..f16d34c4 100644 --- a/test/compress/block-scope.js +++ b/test/compress/block-scope.js @@ -89,6 +89,9 @@ remove_unused_in_global_block: { } expect: { var w; + let ex; + const why; + class Zed {}; var wut; console.log(x, y, Zee); }