frames

Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.

MDN Reference