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.

Type

string