Discussion Forum : Document Object Model And Event Handling
Question - What does the location property represent?
Options:
A .  Current DOM object
B .  Current URL
C .  Both DOM object and URL
D .  None of the mentioned
Answer: Option A
The location property of a window is a reference to a Location object; it represents the current URL of the document being displayed in that window.

Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *