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