The Browser Object Model (BOM) is a collection of objects that give you access to the browser and the computer screen. These objects are accessible through the global object
The window object revisited
window. All global variables are also accessible as properties of the
window object as follows:
> window.somevar = 1; 1 > somevar; 1
> parseInt('123a456'); 123 > window.parseInt('123a456'); ...