Javascript

Topic: JS Window

What is a Window Object?

The window object is supported by all browsers. It represent the browsers window.All global JavaScript objects, functions, and variables automatically become members of the window object.Global variables are properties of the window object.Global functions are methods of the window object.Even the document object (of the HTML DOM) is a property of the window object:window.document.getElementById("header");is the same as:document.getElementById("header"); 

Browse random answers: