toString

abstract override fun toString(): String

Generate a string representation of this URL object.

From MDN: "The URL.toString() stringifier method returns a string containing the whole URL. It is effectively a read-only version of URL.href."

Return

Absolute string URL.