Location.pathname - Web documentation
property Location.pathname

Returns the Location object's URL's path.

Cannot be set in Deno.

Type

string