Q. What is the purpose of the adoptNode() method?

  • (A) Removes node
  • (B) Makes it ready for insertion
  • (C) Removes node and Makes it ready for insertion
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Removes node and Makes it ready for insertion
Explanation: This method removes node from whatever document it is currently part of and changes its ownerDocument property to this document, making it ready for insertion into this document.
Explanation by: Mr. Dubey
This method removes node from whatever document it is currently part of and changes its ownerDocument property to this document, making it ready for insertion into this document.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
150
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate