fix corner case in `collapse_vars` (#5261)
authorAlex Lam S.L <alexlamsl@gmail.com>
Mon, 3 Jan 2022 20:18:41 +0000 (20:18 +0000)
committerGitHub <noreply@github.com>
Mon, 3 Jan 2022 20:18:41 +0000 (04:18 +0800)
commitc94624f36cf57e27836097cdf0d462e41b4f24d3
tree64e3da62f5e4897f9043ee4e230e39fc090eb96b
parentdec359ce58118d49b29519a191ddb7a9e177bf00
fix corner case in `collapse_vars` (#5261)

fixes #5260
lib/compress.js
test/compress/const.js
test/compress/let.js