Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft