Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. A.

     Creates a fragment object

    B.

     Creates a document fragment

    C.

     Creates imaginary node object

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The createDocumentFragment() method creates a imaginary Node object, with all the properties and methods of the Node object.


Be The First To Comment