What is BOM?
BOM stands for Browser Object Model. It consists of the objects: navigator, history, screen, location and document, all of which are children of window.
The default object of browser is window. This means that one can call all the functions of the window wither directly, or by specifying window.
would work the same as: