1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/tests/async_error.ts

9 lines
136 B
TypeScript
Raw Normal View History

2018-08-10 15:16:41 -04:00
console.log("hello");
const foo = async () => {
console.log("before error");
throw Error("error");
2018-08-16 11:28:02 -04:00
};
2018-08-10 15:16:41 -04:00
foo();
console.log("world");