mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
9 lines
125 B
TypeScript
9 lines
125 B
TypeScript
function Foo(name) {
|
|
return "foo" + name;
|
|
}
|
|
const mod = {
|
|
Foo: Foo
|
|
};
|
|
const bar = Foo("bar");
|
|
console.log(mod, bar);
|