const u = new URL('https://user:pass@example.com:8080/path?q=1#frag')
u.protocol // β 'https:'The protocol property returns the URL scheme including the trailing colon.
href returns the full serialized URL. protocol returns the scheme followed by :.
Challenge: Parse 'https://example.com/path' and inspect href and protocol.