The hash property of the URL interface is a string containing a '#' followed by the fragment identifier of the URL.
hash
'#'
MDN Reference