“gopher” 协议不再是特殊的, url.origin 现在为它返回 'null' 。 ... const myURL = new URL('https://example.org/foo/bar?baz'); console.log(myURL.origin); ...
確定! 回上一頁