swc/crates/swc_ecma_minifier/tests/fixture/issues/5955/input.js

17 lines
232 B
JavaScript
Raw Normal View History

export var foo;
export function init() {
function bar() {
foo = bar;
console.log(111);
}
return bar;
}
function bar() {
foo = bar;
console.log(111);
}
export function init1() {
return bar;
}