fix corner case in `switches` (#4060)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 21 Aug 2020 00:05:10 +0000 (01:05 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Aug 2020 00:05:10 +0000 (08:05 +0800)
commitaa83ecdb3b1ab4c50cb8347b559e13c3dcf8b343
treeeca262c51319b60e7dfbd640ccf81cbc4d5a7744
parenta153176469d49b851b884b96261f01ea8026ba82
fix corner case in `switches` (#4060)

fixes #4059
lib/compress.js
test/compress/switch.js