const url = new URL('http://example.com/path/index.html'); url.href; ... 上述的 USVString 参数在JavaScript 中会映射成字符串。
確定! 回上一頁