Skip to content

Commit

Permalink
doc: fix typo in url.md
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
howiezhao authored and aduh95 committed Aug 5, 2021
1 parent 712059a commit 8bfb4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:',
Expand Down

0 comments on commit 8bfb4b9

Please sign in to comment.