destroy

fun destroy(): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Destroys the window. Behaves like {@link Window.close} but forces the window close instead of emitting a closeRequested event.