fix corner case in `hoist_vars` (#4518)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 7 Jan 2021 07:05:48 +0000 (07:05 +0000)
committerGitHub <noreply@github.com>
Thu, 7 Jan 2021 07:05:48 +0000 (15:05 +0800)
commitcf1b0165af4a181e8af6365eddbb144ce0d45da3
tree6c3a8613990feef0f84e68bfa42216f734bedc3f
parentc3d358a5b8e00c51ba7a2e9d8c25b7771f5f5a46
fix corner case in `hoist_vars` (#4518)

fixes #4517
lib/compress.js
test/compress/hoist_vars.js