Properties
hash
hash: string
host
host: string
hostname
hostname: string
href
href: string
Readonly origin
origin: string
password
password: string
pathname
pathname: string
port
port: string
protocol
protocol: string
search
search: string
Readonly searchParams
username
username: string
Methods
toJSON
Returns string
toString
Returns string
The URLÂ interface represents an object providing static methods used for creating object URLs.