Name the top-level object, also known as the default object of the JavaScript…

2022

Name the top-level object, also known as the default object of the JavaScript Object Model.

  1. A.

    Document

  2. B.

    Body

  3. C.

    Location

  4. D.

    Window

Attempted by 175 students.

Show answer & explanation

Correct answer: D

The window object is the top-level and default object in the JavaScript Object Model (JOM). All global variables, functions, and objects automatically become properties of the window object in a web browser.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Up Lt Grade Assistant Teacher 2025