createDocument (DOMUtil - JavaScript) Creates a document. Defined inDOMUtil SyntaxcreateDocument() : DOMDocument