diff options
author | Howie Zhao <howiezhaohr@hotmail.com> | 2021-08-05 19:17:32 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-08-06 01:44:23 +0300 |
commit | 8bfb4b98156a653c396bee4f4ab64091d1bb49ad (patch) | |
tree | afc9d01f2fd412c2c543b08ca873e228035b7dce /doc/api | |
parent | 712059a23220c740805c8627fa43d68aa8d548ed (diff) |
doc: fix typo in `url.md`
PR-URL: https://github.com/nodejs/node/pull/39666
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc/api')
-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 ef77ee45851..725084523df 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -1169,7 +1169,7 @@ expected by the [`http.request()`][] and [`https.request()`][] APIs. import { urlToHttpOptions } from 'url'; const myURL = new URL('https://a:b@測試?abc#foo'); -console.log(urlToHttpOptions(myUrl)); +console.log(urlToHttpOptions(myURL)); /** { protocol: 'https:', |