url.toString()
URL
对象上的 toString()
方法返回序列化的网址。返回值等同于 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()
.
URL
对象上的 toString()
方法返回序列化的网址。返回值等同于 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()
.