1

Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?

Correct Answer: compareDocumentPosition()

Make the most of this question

This page focuses on one Machine Learning MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Machine Learning MCQs MCQ: Which method is used to compare the placement of two nodes in the DOM hierarchy (document)? | Extra Education