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