1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tests/specs/run/error_001/error_001.ts

10 lines
85 B
TypeScript
Raw Normal View History

function foo(): never {
2018-08-10 13:38:57 -04:00
throw Error("bad");
}
function bar() {
2018-08-16 11:28:02 -04:00
foo();
2018-08-10 13:38:57 -04:00
}
2018-08-16 11:28:02 -04:00
bar();