url.toString()
- 返回:<string>
URL 对象的 toString() 方法返回序列化后的 URL。返回的值等同于 url.href 和 url.toJSON() 的值。
【The toString() method on the URL object returns the serialized URL. The
value returned is equivalent to that of url.href and url.toJSON().】