scan RHS of dropped assignments (#1581)
authorAlex Lam S.L <alexlamsl@gmail.com>
Wed, 8 Mar 2017 21:22:27 +0000 (05:22 +0800)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2017 21:22:27 +0000 (05:22 +0800)
commit7e465d4a01f2cbcae24e1c60ee96969c14130287
tree99a075b25f929cf2279e7dbcddc5e2976758cde5
parentaa80ee349d7c534a950ce6cba00c59ca0f7b5629
scan RHS of dropped assignments (#1581)

- similar case as #1578 but against #1450 instead
- fix `this` binding in #1450 as well

closes #1580
lib/compress.js
test/compress/drop-unused.js