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 <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
deokjinkim authored and juanarbol committed Jan 31, 2023
1 parent e4fc3ab commit 546e083
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:123@example.com
// Prints https://abc:123@example.com/
```

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

0 comments on commit 546e083

Please sign in to comment.