Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?
1.compareDocumentPosition()
2.cloneNode()
3. getUserData()
4.getFeature()
Answer:1
Posted Date:-2022-04-01 15:01:37