mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
27 lines
520 B
Text
27 lines
520 B
Text
[WILDCARD]
|
|
function printHello() {
|
|
console.log("Hello");
|
|
}
|
|
function returnsFoo() {
|
|
return "Foo";
|
|
}
|
|
function printHello2() {
|
|
printHello();
|
|
}
|
|
function returnsHi1() {
|
|
return "Hi";
|
|
}
|
|
function returnsFoo21() {
|
|
return returnsFoo();
|
|
}
|
|
function printHello31() {
|
|
printHello2();
|
|
}
|
|
function throwsError1() {
|
|
throw Error("exception from mod1");
|
|
}
|
|
export { returnsHi1 as returnsHi };
|
|
export { returnsFoo21 as returnsFoo2 };
|
|
export { printHello31 as printHello3 };
|
|
export { throwsError1 as throwsError };
|
|
|