pathname

pathname property

Contains the pathname of the URL.

This property is read-only.

Syntax

JavaScript
ptr = object.pathname

 

Property values

Type: DOMString

String containing the pathname of the URL.

See also

WorkerLocation

 

 

Show:
© 2016 Microsoft