deno.com

variable onunload

Unload event handler for the window. In Deno, this is primarily for API compatibility with browsers.

Type #

((
this: Window,
ev: Event,
) => any) | null