doc: fix broken sentence in URL.parse

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Superchupu 2025-07-24 13:48:38 +02:00 committed by GitHub
parent ee36b86ba3
commit 91a131e81a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -720,7 +720,7 @@ added: v22.1.0
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 `null`
if `input` is not a valid.
if the parameters can't be resolved to a valid URL.
### Class: `URLPattern`