Skip to main content
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.

Type

string
Back to top