Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorHowie Zhao <howiezhaohr@hotmail.com>2021-08-05 19:17:32 +0300
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-08-06 01:44:23 +0300
commit8bfb4b98156a653c396bee4f4ab64091d1bb49ad (patch)
treeafc9d01f2fd412c2c543b08ca873e228035b7dce /doc/api
parent712059a23220c740805c8627fa43d68aa8d548ed (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.md2
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:',