window
Returns the owner window for the specified node. If node is a node, returns the owner document’s default view; if node is a document, returns its default view; otherwise returns the node.
function window(DOMNode: Window | Document | Element): Window;