Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update url.md
Co-authored-by: Khafra <maitken033380023@gmail.com>
  • Loading branch information
anonrig and KhafraDev authored Jul 5, 2024
commit cc6cca8a589669a7774ee9756b6853799528040c
2 changes: 1 addition & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ added: v22.1.0
is ignored. If `input` is not a string, it is [converted to a string][] first.
* `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.
* Returns: {URL|undefined}
* Returns: {URL|null}

Parses a string as a URL. If `base` is provided, it will be used as the base
URL for the purpose of resolving non-absolute `input` URLs. Returns `undefined`
Comment thread
anonrig marked this conversation as resolved.
Outdated
Expand Down