Skip to main content

host

property Location.host

Returns the Location object's URL's host and port (if different from the default port for the scheme).

Cannot be set in Deno.

string
Back to top