0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04: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);