2019-11-14 02:35:56 +11:00
|
|
|
[WILDCARD]
|
2021-01-26 17:00:40 +01:00
|
|
|
function printHello() {
|
|
|
|
console.log("Hello");
|
2020-10-23 22:05:41 +11:00
|
|
|
}
|
|
|
|
function returnsFoo() {
|
|
|
|
return "Foo";
|
|
|
|
}
|
|
|
|
function printHello2() {
|
|
|
|
printHello();
|
|
|
|
}
|
2021-12-08 19:12:14 -05:00
|
|
|
function returnsHi() {
|
2021-01-26 17:00:40 +01:00
|
|
|
return "Hi";
|
|
|
|
}
|
2021-12-08 19:12:14 -05:00
|
|
|
function returnsFoo2() {
|
2020-10-23 22:05:41 +11:00
|
|
|
return returnsFoo();
|
|
|
|
}
|
2021-12-08 19:12:14 -05:00
|
|
|
function printHello3() {
|
2020-10-23 22:05:41 +11:00
|
|
|
printHello2();
|
|
|
|
}
|
2021-12-08 19:12:14 -05:00
|
|
|
function throwsError() {
|
2020-10-23 22:05:41 +11:00
|
|
|
throw Error("exception from mod1");
|
|
|
|
}
|
2021-12-08 19:12:14 -05:00
|
|
|
export { returnsHi as returnsHi };
|
|
|
|
export { returnsFoo2 as returnsFoo2 };
|
|
|
|
export { printHello3 as printHello3 };
|
|
|
|
export { throwsError as throwsError };
|
2021-01-11 15:32:34 +01:00
|
|
|
|