Skip to content

Commit 9800719

Browse files
derekwolpertdanielleadams
authored andcommitted
doc: adjust a/an word usage
PR-URL: #41915 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mestery <[email protected]>
1 parent 3e354da commit 9800719

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

doc/api/net.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ read by the original process. To begin reading data from a paused socket, call
14301430
The server can be a TCP server or an [IPC][] server, depending on what it
14311431
[`listen()`][`server.listen()`] to.
14321432

1433-
Here is an example of an TCP echo server which listens for connections
1433+
Here is an example of a TCP echo server which listens for connections
14341434
on port 8124:
14351435

14361436
```js

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ changes:
340340

341341
* `err` {Error} The uncaught exception.
342342
* `origin` {string} Indicates if the exception originates from an unhandled
343-
rejection or from an synchronous error. Can either be `'uncaughtException'` or
343+
rejection or from a synchronous error. Can either be `'uncaughtException'` or
344344
`'unhandledRejection'`. The latter is used when in an exception happens in a
345345
`Promise` based async context (or if a `Promise` is rejected) and
346346
[`--unhandled-rejections`][] flag set to `strict` or `throw` (which is the

doc/api/util.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ changes:
12771277
be removed from the output. This option is only used when `encoding` is
12781278
`'utf-8'`, `'utf-16be'` or `'utf-16le'`. **Default:** `false`.
12791279

1280-
Creates an new `TextDecoder` instance. The `encoding` may specify one of the
1280+
Creates a new `TextDecoder` instance. The `encoding` may specify one of the
12811281
supported encodings or an alias.
12821282

12831283
The `TextDecoder` class is also available on the global object.

doc/api/zlib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The `zlib` module can be used to implement support for the `gzip`, `deflate`
128128
and `br` content-encoding mechanisms defined by
129129
[HTTP](https://tools.ietf.org/html/rfc7230#section-4.2).
130130

131-
The HTTP [`Accept-Encoding`][] header is used within an http request to identify
131+
The HTTP [`Accept-Encoding`][] header is used within an HTTP request to identify
132132
the compression encodings accepted by the client. The [`Content-Encoding`][]
133133
header is used to identify the compression encodings actually applied to a
134134
message.

0 commit comments

Comments
 (0)