mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
27 lines
512 B
Text
27 lines
512 B
Text
[WILDCARD]
|
|
function printHello() {
|
|
console.log("Hello");
|
|
}
|
|
function returnsFoo() {
|
|
return "Foo";
|
|
}
|
|
function printHello2() {
|
|
printHello();
|
|
}
|
|
function returnsHi() {
|
|
return "Hi";
|
|
}
|
|
function returnsFoo2() {
|
|
return returnsFoo();
|
|
}
|
|
function printHello3() {
|
|
printHello2();
|
|
}
|
|
function throwsError() {
|
|
throw Error("exception from mod1");
|
|
}
|
|
export { returnsHi as returnsHi };
|
|
export { returnsFoo2 as returnsFoo2 };
|
|
export { printHello3 as printHello3 };
|
|
export { throwsError as throwsError };
|
|
|