method URL.parseURL.parse(url: string | URL,base?: string | URL,): URL | nullParametersurl: string | URLoptionalbase: string | URLReturn TypeURL | nullSeehttps://developer.mozilla.org/docs/Web/API/URL/parse_static