Related Questions

To which object does the location property belong?
What is the purpose of the window.location object in JavaScript?
What will happen if you reference document.location from within an object?