Discussion :: Javascript - CS
- Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?
Answer : Option A
Explanation :
The compareDocumentPosition() method is used to compare the placement of two nodes in the DOM hierarchy (document).
Be The First To Comment