diff options
author | Сковорода Никита Андреевич <chalkerx@gmail.com> | 2018-10-10 03:05:16 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-10-15 05:51:41 +0200 |
commit | 3b1baf63722b34c75e75d2e9f0f21e867e113332 (patch) | |
tree | 4218eaab4edebecd8dc8c4b3a3f5b34c34df193d /doc | |
parent | 0311fcc546e792c813f1c6644ff7e60e7a7b5158 (diff) | |
download | android-node-v8-3b1baf63722b34c75e75d2e9f0f21e867e113332.tar.gz android-node-v8-3b1baf63722b34c75e75d2e9f0f21e867e113332.tar.bz2 android-node-v8-3b1baf63722b34c75e75d2e9f0f21e867e113332.zip |
doc: fix url example to match behavior
Fixes one WHATWG URL example to match the actual behavior.
PR-URL: https://github.com/nodejs/node/pull/23359
Fixes: https://github.com/nodejs/node/issues/22653
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/url.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index eaa146a821..d6f41a33f5 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -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 |