improve `collapse_vars` on `AST_Var` (#1828)
authorAlex Lam S.L <alexlamsl@gmail.com>
Tue, 18 Apr 2017 20:49:09 +0000 (04:49 +0800)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2017 20:49:09 +0000 (04:49 +0800)
commit4dcff038cb1a6951a0b20d1345bfdb27d756301c
tree67cc31594a81154843526af836266ce367d3388f
parentb4b9305db0d3c4682848ed0a4214f1fee332a078
improve `collapse_vars` on `AST_Var` (#1828)

Perform the same cascaded scanning within `var` statement as we do on array of statements.
lib/compress.js
test/compress/collapse_vars.js