close

fun close()(source)

Closes the window.

MDN Reference