enhance `join_vars` & `sequences` (#2697)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 31 Dec 2017 16:09:26 +0000 (00:09 +0800)
committerGitHub <noreply@github.com>
Sun, 31 Dec 2017 16:09:26 +0000 (00:09 +0800)
commit673b0716379e261008b6cbf187e6b212104fb69e
tree5346618caed4b6e09e9f9131b7d1a359ab893fe0
parentda82fa59a723b22ad5d8dec42cd2ca0d070f2359
enhance `join_vars` & `sequences` (#2697)

- nudge declarations without assignments
  - within `AST_BlockStatement`
  - across `AST_If`
lib/compress.js
test/compress/conditionals.js
test/compress/functions.js
test/compress/sequences.js