Chapter 6. BOM
JavaScript has an intermediate layer between Core (discussed in the previous chapter) and the Document Object Model, or DOM (to be discussed in Chapters 7-10). Commonly called the Browser Object Model, or BOM, this layer is specific to JavaScript’s client-side implementation, so it’s not part of Core. It does not work with the HTML document, so it’s not part of the DOM, either. The BOM’s most important task is managing browser windows (each of which have a separate window object) and enabling communication between them. Therefore, the window object stands at the center of the BOM.
Nonetheless, as you’ll notice, BOM is also the catch-all category of JavaScript. There are many objects, methods, and properties that are not part of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access