swc/ecmascript/transforms/base/tests/resolver/shorthand/input.js
강동윤 cb2b0c671f
fix(es/transforms/base): Optimize hygiene (#2193)
swc_ecma_transforms_base:
 - `hygiene`: Don't rename if not required. (#1600)

swc_ecma_minifier:
 - Remove `hygiene_optimizer`.
2021-09-01 13:11:55 +00:00

5 lines
68 B
JavaScript

let a = 'foo';
function foo() {
let a = 'bar';
use({ a });
}