enhance `conditionals` (#2758)
authorAlex Lam S.L <alexlamsl@gmail.com>
Wed, 10 Jan 2018 08:59:57 +0000 (16:59 +0800)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2018 08:59:57 +0000 (16:59 +0800)
commit09269be9745ab269acaa320db0abaed67ca06566
tree09ee60184e319f4d65410bee7d4e1a15a12b975e
parentbf832cde167b6de119761d54302977e14b10c00b
enhance `conditionals` (#2758)

`x ? y || z : z` --> `x && y || z`
lib/compress.js
test/compress/conditionals.js