diff --git a/doc/api/url.md b/doc/api/url.md index 5e043515b4e638..94551f162b8eef 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -170,7 +170,7 @@ console.log(myURL.href); ``` Invalid URL characters included in the value assigned to the `hash` property -are [percent-encoded][]. Note that the selection of which characters to +are [percent-encoded][]. The selection of which characters to percent-encode may vary somewhat from what the [`url.parse()`][] and [`url.format()`][] methods would produce. @@ -276,7 +276,7 @@ console.log(myURL.href); ``` Invalid URL characters included in the value assigned to the `password` property -are [percent-encoded][]. Note that the selection of which characters to +are [percent-encoded][]. The selection of which characters to percent-encode may vary somewhat from what the [`url.parse()`][] and [`url.format()`][] methods would produce. @@ -297,7 +297,7 @@ console.log(myURL.href); ``` Invalid URL characters included in the value assigned to the `pathname` -property are [percent-encoded][]. Note that the selection of which characters +property are [percent-encoded][]. The selection of which characters to percent-encode may vary somewhat from what the [`url.parse()`][] and [`url.format()`][] methods would produce. @@ -373,7 +373,7 @@ console.log(myURL.port); // Prints 1234 ``` -Note that numbers which contain a decimal point, +Numbers which contain a decimal point, such as floating-point numbers or numbers in scientific notation, are not an exception to this rule. Leading numbers up to the decimal point will be set as the URL's port, @@ -460,7 +460,7 @@ console.log(myURL.href); ``` Any invalid URL characters appearing in the value assigned the `search` -property will be [percent-encoded][]. Note that the selection of which +property will be [percent-encoded][]. The selection of which characters to percent-encode may vary somewhat from what the [`url.parse()`][] and [`url.format()`][] methods would produce. @@ -490,7 +490,7 @@ console.log(myURL.href); ``` Any invalid URL characters appearing in the value assigned the `username` -property will be [percent-encoded][]. Note that the selection of which +property will be [percent-encoded][]. The selection of which characters to percent-encode may vary somewhat from what the [`url.parse()`][] and [`url.format()`][] methods would produce.