Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

property Location.hostname

Returns the Location object's URL's host.

Cannot be set in Deno.

Type #

string