Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. A.

     Removes node

    B.

     Makes it ready for insertion

    C.

     Removes node and Makes it ready for insertion

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    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.


Be The First To Comment