globalsURL()prototypeURL.hostnameVersion: 3.33.2On this pageURL.hostnameThe hostname property of the URL interface is a string containing the domain name of the URL.ValueA string.