(href, base)
| 40 | #parts; |
| 41 | #searchParams; |
| 42 | constructor(href, base) { |
| 43 | if (base !== undefined) |
| 44 | this.#parts = parseURL(href, parseURL(base)); |
| 45 | else |
| 46 | this.#parts = parseURL(href); |
| 47 | this.#searchParams = new URLSearchParams(this.#parts.query, this.#parts); |
| 48 | } |
| 49 | get hash() { |
| 50 | return serializeURL(this.#parts, FRAGMENT); |
| 51 | } |
nothing calls this directly
no test coverage detected