mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04: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] |