* Sets the pathname for the URL pattern. * * @param {string} pathname - The pathname to set. * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.
(pathname)
| 67 | * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining. |
| 68 | */ |
| 69 | pathname(pathname) { |
| 70 | this.#map.set('pathname', pathname) |
| 71 | return this |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Sets the search parameter in the URL pattern. |
no test coverage detected