hostname获取及设置URL 的主机名部分(不含端口号) {代码. ... let a = https://segmentfault.com/write' let b = new URL(a) let c = b.
確定! 回上一頁