mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
18 lines
386 B
JavaScript
18 lines
386 B
JavaScript
import { upper } from "module";
|
|
let foobar = "foo";
|
|
export const foo = foobar;
|
|
const bar = "bar";
|
|
foobar += bar;
|
|
let foobarCopy = foobar;
|
|
foobar += "foo";
|
|
console.log(foobarCopy);
|
|
foobarCopy += "Unused";
|
|
function internal() {
|
|
return upper(foobar);
|
|
}
|
|
// export function external1() {
|
|
// return internal() + foobar;
|
|
// }
|
|
// export function external2() {
|
|
// foobar += ".";
|
|
// }
|