fix `reduce_vars` on boolean binary expressions (#1819)
authorAlex Lam S.L <alexlamsl@gmail.com>
Mon, 17 Apr 2017 09:24:29 +0000 (17:24 +0800)
committerGitHub <noreply@github.com>
Mon, 17 Apr 2017 09:24:29 +0000 (17:24 +0800)
commit6d5f341999da7dfad708979151932fd9d8242ebd
tree733a86ed60adb6bb78a8caeed03916ad6cd7da74
parent4ffb6fce7668a1199284e4ce8be91fdaeaf2df0e
fix `reduce_vars` on boolean binary expressions (#1819)

Side effects of `&&` and `||` have not mattered until #1814, which takes assignment expressions into account.
lib/compress.js
test/compress/reduce_vars.js