Document: Document() constructor
{{APIRef("DOM")}}
The Document constructor creates a new
{{domxref("Document")}} object that is a web page loaded in the browser and serving as
an entry point into the page's content.
Syntax
new Document()
Parameters
None.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
这篇文档对你有帮助吗?
谢谢你的反馈!