Document()

Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

O construtor Document cria um novo objeto Document, o qual trata de uma página carregada no navegador servindo como porta de entrada para o conteúdo da página.

Sintaxe

var document = new Document()

Parâmetros

Nenhum.

Especificações

Specification
DOM Standard
# ref-for-dom-document-document①

Compatibilidade com navegadores

BCD tables only load in the browser