Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

onunload

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