Skip to content

Commit 524db29

Browse files
cxn-pkovacsMylesBorins
authored andcommitted
doc: fix typo in api doc of url.format(urlObject)
PR-URL: #17295 Fixes: #17294 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
1 parent c901cce commit 524db29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/url.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ changes:
971971
The `url.format()` method returns a formatted URL string derived from
972972
`urlObject`.
973973

974-
If `urlObject` is not an object or a string, `url.parse()` will throw a
974+
If `urlObject` is not an object or a string, `url.format()` will throw a
975975
[`TypeError`][].
976976

977977
The formatting process operates as follows:

0 commit comments

Comments
 (0)