Google News
logo
Node.JS - Quiz(MCQ)
Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?
A)
cloneNode()
B)
compareDocumentPosition()
C)
getUserData()
D)
getFeature()

Correct Answer :   compareDocumentPosition()