The Window.parent property is a reference to the parent of the current window or subframe.
Window.parent
MDN Reference