Vidyalelo
JavaScript · Q54

Server

Programming · JavaScript · question 54

Q54

Which property in the Window object is used to refer to a Location object?

A.
position
B.
area
C.
window
D.
location
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The Window object defines properties like location, which refers to a Location object that specifies the URL currently displayed in the window and allows a script to load a new URL into the window.