location

external val location: Location(source)

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

MDN Reference