doc: simplify format description of urlObject.auth

The "at sign" is properly the "commercial at" but let's just avoid the
whole naming issue by putting the symbol right in the sentence.

PR-URL: https://github.com/nodejs/node/pull/22324
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
This commit is contained in:
Rich Trott authored and Rod Vagg committed 2018-08-15 20:23:17 +10:00
1 parent a658a4df34
commit 6d29986f4d
1 file changed
+3 -3
+3 -3
View File
@@ -920,9 +920,9 @@ The legacy `urlObject` (`require('url').Url`) is created and returned by the
The `auth` property is the username and password portion of the URL, also
referred to as _userinfo_. This string subset follows the `protocol` and
double slashes (if present) and precedes the `host` component, delimited by an
ASCII "at sign" (`@`). The string is either the username, or it is the username
and password separated by `:`.
double slashes (if present) and precedes the `host` component, delimited by `@`.
The string is either the username, or it is the username and password separated
by `:`.
For example: `'user:pass'`.