href

abstract override var href: String

URL: href

From MDN: "The href property of the URL interface is a string containing the whole URL."

 

Notes & further reading

Example value:

const url = new URL("https://elide.dev/?one=two#hello");
url.href;
← "https://elide.dev/?one=two#hello"

Note: This property is present on a mutable version of the URL interface.