HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

close

Description

The close of Document for JS closes the input stream that was opened by the document.open() method.

Throws an "InvalidStateError" DOMException if the Document is an XML document.

Throws an "InvalidStateError" DOMException if the parser is currently executing a custom element constructor.

Syntax

document.close()

Examples

1 · void