What is the purpose of the Node object property ownerDocument?
(a) Returns the root element
(b) Returns the last element
(c) Returns the parent node
(d) Returns the immediate node
(a) Returns the root element
(b) Returns the last element
(c) Returns the parent node
(d) Returns the immediate node
The correct option is (a) Returns the root element
The best explanation: The ownerDocument property returns the owner document of a node, as a Document object. It returns the root element for a node.