Location.hash - Web documentation
property Location.hash

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

Cannot be set in Deno.

Type

string