href

Returns the Location object's URL.

Can be set, to navigate to the given URL.

MDN Reference