#Javascript #Tutorial #Hindi

Link for Complete JavaScript Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSvHo6Rp4Ky0X8x_MabmKye

Link for Complete HTML and CSS Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSdLVVjU_kea8J8lP24ZseT


In this video i will talk about Browser Object Model (BOM) in JavaScript.

The Browser Object Model (BOM) is used to interact with the browser.

The window object represents a window in browser.

An object of window is created automatically by the browser.

All global JavaScript objects, functions, and variables with the var keyword automatically become members of the window object.

Global variables are properties of the window object.

Global functions are methods of the window object.

NOTE: If you don’t want to pollute the window object, you can use the let keyword to declare variables and functions.


The default object of browser is window means you can call all the functions of window by specifying window or directly. For example:


Please subscribe to watch more videos like this: https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g?sub_confirmation=1



Join this channel to support Tech Gun:
https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g/join