host property

Contains the hostname and port values of the URL.

This property is read-only.

Syntax

JavaScript
ptr = object.host

Property values

Type: DOMString

String containing the hostname and port values of the URL.

See also

WorkerLocation

 

 

Show:
© 2015 Microsoft