mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: fix typo in api doc of url.format(urlObject)
PR-URL: https://github.com/nodejs/node/pull/17295 Fixes: https://github.com/nodejs/node/issues/17294 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This commit is contained in:
parent
07d34092b1
commit
29423b49c7
@ -971,7 +971,7 @@ changes:
|
||||
The `url.format()` method returns a formatted URL string derived from
|
||||
`urlObject`.
|
||||
|
||||
If `urlObject` is not an object or a string, `url.parse()` will throw a
|
||||
If `urlObject` is not an object or a string, `url.format()` will throw a
|
||||
[`TypeError`][].
|
||||
|
||||
The formatting process operates as follows:
|
||||
|
Loading…
Reference in New Issue
Block a user