Course Content

  • 4.2 alert()
  • 4.2 close()
  • 4.2 confirm()
  • 4.2 open()
  • 4.2 prompt()
  • 4.2 setTimeout()

Course Content


The browser's window is represented by the window object. The window object contains all global JavaScript objects. There are some methods and properties in window objects.

displays an alert box with a message and an OK button. displays the confirm dialogue box, which includes a message and an OK/Cancel button. provides a dialogue window for the user's input a new window is opened

Top of the hierarchy is the window object. It is the object hierarchy's highest level. Each HTML document that is loaded into a window is referred to as a document object. The page's content is contained in the document.

A Javascript BOM is a set of files that contain the code for all the front-end and back-end components of a web application.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere