The entire URL as a string.
let url = new URL("https://example.com/path?query=value#fragment")
url.href
"https://example.com/path?query=value#fragment"
let url = new URL("https://example.com")
url.href = "https://newsite.com/page"
url.hostname
"newsite.com"