Export (0) Print
Expand All

hostname property

Contains the hostname of a URL.

This property is read-only.

Syntax

JavaScript
ptr = object.hostname

Property values

Type: DOMString

String containing the hostname of a URL.

See also

WorkerLocation

 

 

Show:
© 2014 Microsoft