8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e6cf0 commit 018ec32Copy full SHA for 018ec32
doc/api/url.md
@@ -132,8 +132,8 @@ return `true`.
132
* `input` {string} The absolute or relative input URL to parse. If `input`
133
is relative, then `base` is required. If `input` is absolute, the `base`
134
is ignored. If `input` is not a string, it is [converted to a string][] first.
135
-* `base` {string|URL} The base URL to resolve against if the `input` is not
136
- absolute.
+* `base` {string} The base URL to resolve against if the `input` is not
+ absolute. If `base` is not a string, it is [converted to a string][] first.
137
138
Creates a new `URL` object by parsing the `input` relative to the `base`. If
139
`base` is passed as a string, it will be parsed equivalent to `new URL(base)`.