Exploring JavaScript — BOM

Nhan Nguyen
Nov 29, 2023

--

Ever wondered what “BOM” means in JavaScript? 🤔 Well, it stands for the Browser Object Model!

The Browser Object Model represents the browser as an object, allowing JavaScript to interact with and manipulate the browser window.

️It provides objects and methods to control browser behavior beyond what is possible with the Document Object Model (DOM), which deals with the structure and content of web documents.

Key players in the BOM lineup include objects like window, navigator, location, screen, history, and document.

These power-packed objects open the door to a world of possibilities, allowing you to do things like opening new browser windows, navigating to different URLs, grabbing user screen info, and much more 🚀!

I hope you found it useful. Thanks for reading. 🙏

Let’s get connected! You can find me on:
- Medium: https://medium.com/@nhannguyendevjs/
- Dev: https://dev.to/nhannguyendevjs/
- Substack: https://nhannguyendevjs.substack.com/
- Linkedin: https://www.linkedin.com/in/nhannguyendevjs/
- X (formerly Twitter): https://twitter.com/nhannguyendevjs/

--

--

Nhan Nguyen
Nhan Nguyen

No responses yet