doc: fix broken sentence in `URL.parse` · nodejs/node@3da5bc0

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 3da5bc0

SuperchupuDevaduh95

authored and

committed

doc: fix broken sentence in URL.parse

PR-URL: #59164 Refs: https://developer.mozilla.org/en-US/docs/Web/API/URL/parse_static#return_value Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

1 parent d5640ca commit 3da5bc0

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -716,7 +716,7 @@ added: v22.1.0

716716
717717

Parses a string as a URL. If `base` is provided, it will be used as the base

718718

URL for the purpose of resolving non-absolute `input` URLs. Returns `null`

719-

if `input` is not a valid.

719+

if the parameters can't be resolved to a valid URL.

720720
721721

### Class: `URLPattern`

722722

0 commit comments

Comments

 (0)