Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-05-13 00:22:18 +0300
committerGitHub <noreply@github.com>2022-05-13 00:22:18 +0300
commit5e6f9c3e346b196ab299a3fce485d7aa5fbf3802 (patch)
treedd07aa323d1d19723275ea91a70c80bb6deb2059 /doc/api/util.md
parent4d1aad20473e4384ca24ccb50c234baf3df05d9a (diff)
doc: use serial comma in util docs
Refs: https://github.com/nodejs/node/pull/11321 Refs: https://github.com/nodejs/node/pull/17384 PR-URL: https://github.com/nodejs/node/pull/43063 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'doc/api/util.md')
-rw-r--r--doc/api/util.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/util.md b/doc/api/util.md
index 1686c08e0fb..8cafd120503 100644
--- a/doc/api/util.md
+++ b/doc/api/util.md
@@ -260,7 +260,7 @@ changes:
was not a string.
- version: v11.4.0
pr-url: https://github.com/nodejs/node/pull/23708
- description: The `%d`, `%f` and `%i` specifiers now support Symbols
+ description: The `%d`, `%f`, and `%i` specifiers now support Symbols
properly.
- version: v11.4.0
pr-url: https://github.com/nodejs/node/pull/24806
@@ -586,7 +586,7 @@ changes:
* `showProxy` {boolean} If `true`, `Proxy` inspection includes
the [`target` and `handler`][] objects. **Default:** `false`.
* `maxArrayLength` {integer} Specifies the maximum number of `Array`,
- [`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
+ [`TypedArray`][], [`WeakMap`][], and [`WeakSet`][] elements to include when
formatting. Set to `null` or `Infinity` to show all elements. Set to `0` or
negative to show no elements. **Default:** `100`.
* `maxStringLength` {integer} Specifies the maximum number of characters to
@@ -1281,7 +1281,7 @@ changes:
* `ignoreBOM` {boolean} When `true`, the `TextDecoder` will include the byte
order mark in the decoded result. When `false`, the byte order mark will
be removed from the output. This option is only used when `encoding` is
- `'utf-8'`, `'utf-16be'` or `'utf-16le'`. **Default:** `false`.
+ `'utf-8'`, `'utf-16be'`, or `'utf-16le'`. **Default:** `false`.
Creates a new `TextDecoder` instance. The `encoding` may specify one of the
supported encodings or an alias.
@@ -1290,7 +1290,7 @@ The `TextDecoder` class is also available on the global object.
### `textDecoder.decode([input[, options]])`
-* `input` {ArrayBuffer|DataView|TypedArray} An `ArrayBuffer`, `DataView` or
+* `input` {ArrayBuffer|DataView|TypedArray} An `ArrayBuffer`, `DataView`, or
`TypedArray` instance containing the encoded data.
* `options` {Object}
* `stream` {boolean} `true` if additional chunks of data are expected.