swc/crates/swc_bundler/tests/fixture/deno-8625/output/entry.ts
2021-11-09 20:42:49 +09:00

9 lines
125 B
TypeScript

function Foo(name) {
return 'foo' + name;
}
const mod = {
Foo: Foo
};
const bar = Foo('bar');
console.log(mod, bar);