diff options
author | pkovacs <pkovacs@chemaxon.com> | 2017-11-25 11:35:42 +0100 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-11-25 16:47:01 +0200 |
commit | 29423b49c78f7880fa07f52447ce17c2c4aff5bc (patch) | |
tree | 5736126d12f875b38f04d416657dc70aa4d9a36b /doc | |
parent | 07d34092b117c4b5bdad85cf916d9ae5e213651d (diff) | |
download | android-node-v8-29423b49c78f7880fa07f52447ce17c2c4aff5bc.tar.gz android-node-v8-29423b49c78f7880fa07f52447ce17c2c4aff5bc.tar.bz2 android-node-v8-29423b49c78f7880fa07f52447ce17c2c4aff5bc.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/url.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 632eef82e4..0021109562 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -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: |