What does the nodeName of the nodeType Document return?
What does the nodeName of the nodeType Document return? Correct Answer #document
The nodeName of the nodeType Document returns #document. If the node is an element node, the nodeName property will return the tag name. If the node is an attribute node, the nodeName property will return the name of the attribute.