URL.canParse('https://example.com') // β true
URL.canParse('not a url') // β falseURL.canParse() returns true if the string is a valid URL without throwing.
URL.canParse(href) returns true if the string is a valid URL, false otherwise.
Challenge: Verify that URL.canParse('https://example.com') returns true.