fix boolean context detection (#3466)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 11 Oct 2019 19:42:57 +0000 (03:42 +0800)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2019 19:42:57 +0000 (03:42 +0800)
commiteba3a37bb510320ba95f27021c35c9fb83375b08
tree09de4974aa5d5c1abcb0a57a29b3958c55182224
parent6d57ca1a59449cd11de296d091a35551ce9cbee7
fix boolean context detection (#3466)

fixes #3465
lib/ast.js
test/compress/booleans.js [new file with mode: 0644]
test/compress/evaluate.js