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
Prev Previous commit
doc: fix url example to match behavior
Fixes one WHATWG URL example to match the actual behavior.

Fixes: #22653
  • Loading branch information
ChALkeR committed Oct 10, 2018
commit a2af3a4d96b54519d5b9799cf44ae81936977ada
2 changes: 1 addition & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ const myURL = new URL('https://%CF%80.example.com/foo');
console.log(myURL.href);
// Prints https://xn--1xa.example.com/foo
console.log(myURL.origin);
// Prints https://π.example.com
// Prints https://xn--1xa.example.com
```

[`Error`]: errors.html#errors_class_error
Expand Down