const u = new URL('https://example.com/page')
u.pathname // β '/page'pathname returns the path portion of the URL.
hostname is the domain without port. port is the port string (empty if default). host is hostname + port.
Challenge: Parse 'http://host.com:8080/p' and check these properties.