Question 13

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

  1. ADocument
  2. BBody
  3. CLocation
  4. DWindow
Show answerHide answer

Correct answer: (D) Window

Explanation

window is the top-level (global) object of the browser object model. document, location and others are its properties.

From DSSSB TGT Computer Science Practice Set 2

This is question 13 of DSSSB TGT Computer Science Practice Set 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.