Skip to content

Commit

Permalink
doc: fix wrong output of example in url.password
Browse files Browse the repository at this point in the history
Tailing slash of url.href is ommited.

PR-URL: #45928
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
deokjinkim authored and RafaelGSS committed Jan 5, 2023
1 parent 7bdad94 commit 9ed547b
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 @@ -332,7 +332,7 @@ console.log(myURL.password);

myURL.password = '123';
console.log(myURL.href);
// Prints https://abc:[email protected]
// Prints https://abc:[email protected]/
```

Invalid URL characters included in the value assigned to the `password` property
Expand Down

0 comments on commit 9ed547b

Please sign in to comment.