host
The host
property of the Location interface is a string containing the host, which is the Location.hostname, and then, if the port of the URL is nonempty, a ':'
, followed by the Location.port of the URL.
The host
property of the Location interface is a string containing the host, which is the Location.hostname, and then, if the port of the URL is nonempty, a ':'
, followed by the Location.port of the URL.