But there are also circumstances in which we need to access information about the browser itself. The root element of the BOM is the window object. It is important however to be able to visualize the window as an object - and as an object it contains other child objects, as well as methods. The BOM contains one instance of a window object. This represents the instance of the browser.
Further browsers have their own separate and distinct window objects.
The window object can contain frames, which in turn may contain window objects. This hierarchical system can continue indefinitely, although practical considerations do eventually interfere. The window object has several properties, but most are too complex for this article. We will meet parent and top when we look at frames, but let's start with status and defaultStatus. The status line at the base of a browser screen can be read or written to using the window.status property.