The Document of Document for JS returns a new document.
document = new Document()
adoptNode
characterSet
compatMode
contentType
createCDATASection
createComment
createDocumentFragment
createElement
createElementNS
createProcessingInstruction
createTextNode
doctype
documentElement
documentURI
exitPictureInPicture
getElementsByClassName
getElementsByTagName
getElementsByTagNameNS
implementation
importNode
pictureInPictureEnabled
URL
write
writeln
Web Hypertext Application Technology Working Group (WHATWG)