The following section explains What is Browser Object Model.
In fact, whatever is available with a web browser, we can obtain as a programming model using the Browser Object Model. In other words, the Browser Object Model enables us to access and manipulate different features of the web browser using predefined objects and functions. Basically, Browser Object Model (BOM) is an API that is available in JavaScript. Hence, we can access the current history, location, document, screen, and window using the BOM API. Furthermore, the window object is the default object in the BOM. So, the browser itself creates a window object when we open a web page in the browser. The Browser Object Model consists of the following objects:
- window
- screen
- location
- Navigator
- history
- document
Further Reading
Evolution of JavaScript from ES1 to ES2020
Introduction to HTML DOM Methods in JavaScript
Understanding Document Object Model (DOM) in JavaScript
Understanding HTTP Requests and Responses
What is Asynchronous JavaScript?