Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 967 Bytes

File metadata and controls

33 lines (22 loc) · 967 Bytes
layout editorial
chapter 16
pageNumber 98
description The browser object model lets us interact with the browser window. Through it one can control or manipulate various aspects of the browser, such as the window, frames, history, location, and more.

Chapter 16

Browser Object Model (BOM)

The browser object model lets us interact with the browser window. The window object represents the browser's window and is supported by all browsers.

Object window is the default object for a browser, so we can specify window or call directly all the functions.

window.alert("Welcome to Learn JavaScript");  

alert("Welcome to Learn JavaScript")

In this chapter, we are going to talk about various properties and methods of browser object model.