NODE JS QUIZ
1 .
How many node types are there in total?

Correct Answer : Option (B)

12
  Show Answer
2 .
What is the purpose of the Node object property ownerDocument?

Correct Answer : Option (D)

Returns the root element
  Show Answer
3 .
Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?

Correct Answer : Option (B)

compareDocumentPosition()
  Show Answer
4 .
Which of the following Node object property returns the node immediately before a node?

Correct Answer : Option (A)

previousSibling
  Show Answer