improve `reduce_vars` (#2592)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 14 Dec 2017 07:32:13 +0000 (15:32 +0800)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 07:32:13 +0000 (15:32 +0800)
commit02a6ce07eba11223518a22bce18e209371f78f39
tree167aa7fffefb81314bc29f5b72dcbac18b11401d
parent738fd52bc46c043db4a0cd415671f54b392ee6ac
improve `reduce_vars` (#2592)

- account for hoisting nature of `var`
lib/compress.js
test/compress/reduce_vars.js