Single Choice
Easy
QWhat happens as a result of the following piece of code?
window.location === document.location
ID: #5081
Javascript DOM & Event Handling MCQ
149 views
Question Info
#5081Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The current page address (URL) and a new page can both be requested using the window.location object.
The Location object that is returned by the read-only Document.location property contains information about the document's URL and methods for updating it and loading another URL.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic