Vidyalelo
JavaScript · Q122

Document Object Model And Event Handling

Programming · JavaScript · question 122

Q122

What does the nodeName of the nodeType Document return?

A.
doctype name
B.
target
C.
#comment
D.
#document
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The nodeName of the nodeType Document returns #document.