password

abstract override var password: String

URL: password

From MDN: "The password property of the URL interface is a string containing the password specified before the domain name. If it is set without first setting the username property, it silently fails."

 

Notes & further reading

Example value:

const url = new URL("https://hello:cool@elide.dev/?one=two#hello");
url.password;
← "cool"

Note: This property is present on a mutable version of the URL interface.