?
What is the purpose of the window.location object in JavaScript?
Answer & Solution
Correct Answer:
Option
A
The window.location object can be used to get the current page address (URL) and to redirect the browser to a new page.
Join the Discussion
Login to post a comment or share your explanation.
Login