mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
40fc5f55ea
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0). Co-authored-by: Kitson Kelly <me@kitsonkelly.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
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";
|
|
}
|
|
export { returnsHi1 as returnsHi };
|
|
function returnsFoo21() {
|
|
return returnsFoo();
|
|
}
|
|
export { returnsFoo21 as returnsFoo2 };
|
|
function printHello31() {
|
|
printHello2();
|
|
}
|
|
export { printHello31 as printHello3 };
|
|
function throwsError1() {
|
|
throw Error("exception from mod1");
|
|
}
|
|
export { throwsError1 as throwsError };
|
|
|