Skip to main content
property Location.hash

Returns the Location object's URL's fragment (includes leading "#" if non-empty).

Cannot be set in Deno.

Type

string
Back to top