The `parent` property always points to the current window’s immediate parent window. For the topmost browser window, the value of `parent` property is equal to the `top` property (and both are equal to `window`).
Note: this property is read-only.
Window parent Property Syntax:
Output: The parent window of the iframe is the main window.