Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

port property

Contains the port number of the URL.

This property is read-only.

Syntax

JavaScript
ptr = object.port

 

Property values

Type: DOMString

String containing the port number of the URL.

See also

WorkerLocation

 

 

Show:
© 2015 Microsoft