Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the Node object property ownerDocument?

  2. A.

     Returns the root element

    B.

     Returns the last element

    C.

     Returns the parent node

    D.

     Returns the immediate node

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The node object property ownerDocument returns the root element (document object) for a node.


Be The First To Comment