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:
© 2014 Microsoft