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

A. position

B. area

C. window

D. location

Answer: Option D

Solution(By Examveda Team)

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.

Join The Discussion

Related Questions on Server Side and Client Side Scripting