const u = new URL('https://example.com#section')
u.hash // β '#section'hash returns the fragment identifier including the '#' character.
pathname is the path portion. search is the query string including ?.
Challenge: Parse 'https://a.com/path/to/page?q=hello&lang=en' and inspect pathname and search.