Ans: The BOM (Browser Object Model) consists of the objects navigator , history , screen , location and document which are children of window. The BOM allows JavaScript to “interact with” the browser. The object of window represents a browser window and all its corresponding features.
-
The window object is supported by all browsers. It represents the browser's window.
-
All global JavaScript objects, functions, and variables automatically become members of the window object.
-
Global variables are properties of the window object.
-
Global functions are methods of the window object.
-
BOM window object
-
BOM window screen
-
BOM window location
-
BOM window history
-
BOM window navigator
-
BOM window popup alert
-
BOM window timing event
-
BOM window cookie