location

external val location: Location(source)

The read-only location property of the Window interface returns a Location object with information about the current location of the document.

MDN Reference