The Location interface represents the location (URL) of the object it is linked to.
Location
The Window.location read-only property returns a Location object with information about the current location of the document.
Window.location