retrofit `try-catch-finally` as block-scoped (#4178)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 4 Oct 2020 21:30:14 +0000 (22:30 +0100)
committerGitHub <noreply@github.com>
Sun, 4 Oct 2020 21:30:14 +0000 (05:30 +0800)
commit8f0521d51d0292cc84782628cda1a9d16b083ed6
treeadd858505f6b35a72f76f0a19c5d36f222432725
parentf9946767c9e517561253eed22558fb154daf84d1
retrofit `try-catch-finally` as block-scoped (#4178)

- support optional catch binding
lib/ast.js
lib/compress.js
lib/output.js
lib/parse.js
lib/scope.js
lib/transform.js
test/compress/functions.js
test/reduce.js