mirror of
https://github.com/denoland/deno.git
synced 2024-11-16 16:53:20 -05:00
23 lines
No EOL
397 B
Text
23 lines
No EOL
397 B
Text
[WILDCARD]
|
|
function printHello() {
|
|
console.log("Hello");
|
|
}
|
|
function returnsFoo() {
|
|
return "Foo";
|
|
}
|
|
function printHello2() {
|
|
printHello();
|
|
}
|
|
export function returnsHi() {
|
|
return "Hi";
|
|
}
|
|
export function returnsFoo2() {
|
|
return returnsFoo();
|
|
}
|
|
export function printHello3() {
|
|
printHello2();
|
|
}
|
|
export function throwsError() {
|
|
throw Error("exception from mod1");
|
|
}
|
|
[WILDCARD] |