Vidyalelo
JavaScript · Q57

Server

Programming · JavaScript · question 57

Q57

Which of the following is a global object?

A.
Register
B.
Location
C.
Window
Answer
D.
Position

Answer: Option C

Solution

Answer: Option C
Solution:
In client-side JavaScript, the Window object is also the global object. This means that the Window object is at the top of the scope chain and that its properties and methods are effectively global variables and global functions.