This textbook is available atAmazon.com Logo
JavaScript: The Web Warrior Series 6th Edition

JavaScript: The Web Warrior Series (6th Edition)

Book Edition6th Edition
Author(s)Vodnik
ISBN9781305078444
PublisherCengage
SubjectComputer Science
Understanding the Browser Object Model and the Document Object Model
Accessing Document Elements, Content, Properties, and Attributes
Adding and Removing Document Nodes
Manipulating the Browser with the Window Object
Working with the History, Location, Navigator, and Screen Objects
Chapter 5, Understanding the Browser Object Model and the Document Object Model, Short Quiz, Exercise 1
Page 296

What is the Window object?

Verified Answer

  • Window objects represent the window of a web browser which is used for loading the web page. 
  • It need not be created explicitly since it is created by the web browser automatically when the web page is rendered. 
  • All objects of the BOM (Browser Object Model) are contained within the window object. Therefore, a window object is also known as a global object or top-level object.
How would you rate this answer and explanation?
Did you like this example?
Subscribe for full access
Page 296