Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ console.log(myURL.hostname);

myURL.hostname = 'example.com:82';
console.log(myURL.href);
Comment thread
darkrishabh marked this conversation as resolved.
// Prints https://example.com:81/foo
// Prints https://example.com:82/foo
Comment thread
darkrishabh marked this conversation as resolved.
Outdated
Comment thread
darkrishabh marked this conversation as resolved.
Outdated
```

Invalid host name values assigned to the `hostname` property are ignored.
Expand Down