Skip to content

Commit 760cafa

Browse files
howiezhaodanielleadams
authored andcommitted
doc: fix typo in url.md
PR-URL: #39666 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 975edf5 commit 760cafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/url.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ expected by the [`http.request()`][] and [`https.request()`][] APIs.
11691169
import { urlToHttpOptions } from 'url';
11701170
const myURL = new URL('https://a:b@測試?abc#foo');
11711171

1172-
console.log(urlToHttpOptions(myUrl));
1172+
console.log(urlToHttpOptions(myURL));
11731173
/**
11741174
{
11751175
protocol: 'https:',

0 commit comments

Comments
 (0)