onerror: ((this: Window,ev: ErrorEvent,) => any) | nullonbeforeunload: (() => any) | nullonunhandledrejection: ((this: Window,) => any) | nullonrejectionhandled: ((this: Window,) => any) | nullclose: () => voidreadonly
closed: booleanalert: (message?: string) => voidconfirm: (message?: string) => booleanprompt: (message?: string,defaultValue?: string,) => string | nullDeno: Denoname: stringaddEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(): void