Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 546e083

Browse filesBrowse files
deokjinkimjuanarbol
authored andcommitted
doc: fix wrong output of example in url.password
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>
1 parent e4fc3ab commit 546e083
Copy full SHA for 546e083

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/url.md‎

Copy file name to clipboardExpand all lines: doc/api/url.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ console.log(myURL.password);
332332

333333
myURL.password = '123';
334334
console.log(myURL.href);
335-
// Prints https://abc:123@example.com
335+
// Prints https://abc:123@example.com/
336336
```
337337

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.