1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/tests/078_unload_on_exit.ts
2021-01-12 05:32:58 -05:00

4 lines
80 B
TypeScript

window.onunload = () => {
console.log("onunload is called");
};
Deno.exit(0);