Skip to main content
Location.hash - Platform - Web documentation
property Location.hash
Private

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

Cannot be set in Deno.

Type

string