deno/tests/error_001.ts
2018-08-17 12:43:21 -04:00

9 lines
78 B
TypeScript

function foo() {
throw Error("bad");
}
function bar() {
foo();
}
bar();