The SVG Window.document property returns a reference to the document contained in the window.
Syntax:
var object = window.document
Return value: This property returns a reference to the document contained in the window.
Example 1:
Output:
👁 ImageExample 2:
Output:
👁 Image