Location.host - Web documentation
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