swc/tests/fixture/issue-1402/case1/output/index.ts
강동윤 27aad87798
fix(es/transforms/base): Fix hygiene of catch clause (#1413)
swc_ecma_transforms_base:
 - `hygiene`: Apply ops in catch clauses. (#1402)
2021-02-19 16:52:02 +09:00

7 lines
67 B
TypeScript

var e = 1;
try {
throw 2;
} catch (e1) {
console.log(e);
}