Skip to content

Commit 91a131e

Browse files
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 <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ee36b86 commit 91a131e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ added: v22.1.0
720720

721721
Parses a string as a URL. If `base` is provided, it will be used as the base
722722
URL for the purpose of resolving non-absolute `input` URLs. Returns `null`
723-
if `input` is not a valid.
723+
if the parameters can't be resolved to a valid URL.
724724

725725
### Class: `URLPattern`
726726

0 commit comments

Comments
 (0)