fix corner case in `hoist_props` (#5223)
authorAlex Lam S.L <alexlamsl@gmail.com>
Wed, 15 Dec 2021 18:57:34 +0000 (18:57 +0000)
committerGitHub <noreply@github.com>
Wed, 15 Dec 2021 18:57:34 +0000 (02:57 +0800)
commit9e927ecc9a32775e47cf89d5dca1ed2a899d1684
tree1f585aef5d17e113293e770d901068ae082b55b5
parent509896a41022dbc76cc75b985ce0ec35702279ef
fix corner case in `hoist_props` (#5223)

fixes #5222
lib/ast.js
lib/compress.js
test/compress/default-values.js