2019-11-13 10:35:56 -05:00
|
|
|
[WILDCARD]
|
2021-01-26 11:00:40 -05:00
|
|
|
function printHello() {
|
|
|
|
console.log("Hello");
|
2020-10-23 07:05:41 -04:00
|
|
|
}
|
|
|
|
function returnsFoo() {
|
|
|
|
return "Foo";
|
|
|
|
}
|
|
|
|
function printHello2() {
|
|
|
|
printHello();
|
|
|
|
}
|
2021-01-26 11:00:40 -05:00
|
|
|
function returnsHi1() {
|
|
|
|
return "Hi";
|
|
|
|
}
|
|
|
|
export { returnsHi1 as returnsHi };
|
|
|
|
function returnsFoo21() {
|
2020-10-23 07:05:41 -04:00
|
|
|
return returnsFoo();
|
|
|
|
}
|
2021-01-26 11:00:40 -05:00
|
|
|
export { returnsFoo21 as returnsFoo2 };
|
|
|
|
function printHello31() {
|
2020-10-23 07:05:41 -04:00
|
|
|
printHello2();
|
|
|
|
}
|
2021-01-26 11:00:40 -05:00
|
|
|
export { printHello31 as printHello3 };
|
|
|
|
function throwsError1() {
|
2020-10-23 07:05:41 -04:00
|
|
|
throw Error("exception from mod1");
|
|
|
|
}
|
2021-01-26 11:00:40 -05:00
|
|
|
export { throwsError1 as throwsError };
|
2021-01-11 09:32:34 -05:00
|
|
|
|