var url = new URL(urlStr); new URL(url, base); return url.protocol === 'http:' || url.protocol === 'https:'; The first two syntaxes create a new ...
確定! 回上一頁