From 8bfb4b98156a653c396bee4f4ab64091d1bb49ad Mon Sep 17 00:00:00 2001 From: Howie Zhao Date: Fri, 6 Aug 2021 00:17:32 +0800 Subject: [PATCH] doc: fix typo in `url.md` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/39666 Reviewed-By: James M Snell Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- doc/api/url.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/url.md b/doc/api/url.md index ef77ee45851ad3..725084523df2bd 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:',