Skip to content

Commit 76096c2

Browse files
tniessenBethGriggs
authored andcommitted
doc: use serial comma in util docs
Refs: #11321 Refs: #17384 PR-URL: #43063 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 1e9de0d commit 76096c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/util.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ changes:
260260
was not a string.
261261
- version: v11.4.0
262262
pr-url: https://github.com/nodejs/node/pull/23708
263-
description: The `%d`, `%f` and `%i` specifiers now support Symbols
263+
description: The `%d`, `%f`, and `%i` specifiers now support Symbols
264264
properly.
265265
- version: v11.4.0
266266
pr-url: https://github.com/nodejs/node/pull/24806
@@ -586,7 +586,7 @@ changes:
586586
* `showProxy` {boolean} If `true`, `Proxy` inspection includes
587587
the [`target` and `handler`][] objects. **Default:** `false`.
588588
* `maxArrayLength` {integer} Specifies the maximum number of `Array`,
589-
[`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
589+
[`TypedArray`][], [`WeakMap`][], and [`WeakSet`][] elements to include when
590590
formatting. Set to `null` or `Infinity` to show all elements. Set to `0` or
591591
negative to show no elements. **Default:** `100`.
592592
* `maxStringLength` {integer} Specifies the maximum number of characters to
@@ -1281,7 +1281,7 @@ changes:
12811281
* `ignoreBOM` {boolean} When `true`, the `TextDecoder` will include the byte
12821282
order mark in the decoded result. When `false`, the byte order mark will
12831283
be removed from the output. This option is only used when `encoding` is
1284-
`'utf-8'`, `'utf-16be'` or `'utf-16le'`. **Default:** `false`.
1284+
`'utf-8'`, `'utf-16be'`, or `'utf-16le'`. **Default:** `false`.
12851285

12861286
Creates a new `TextDecoder` instance. The `encoding` may specify one of the
12871287
supported encodings or an alias.
@@ -1290,7 +1290,7 @@ The `TextDecoder` class is also available on the global object.
12901290

12911291
### `textDecoder.decode([input[, options]])`
12921292

1293-
* `input` {ArrayBuffer|DataView|TypedArray} An `ArrayBuffer`, `DataView` or
1293+
* `input` {ArrayBuffer|DataView|TypedArray} An `ArrayBuffer`, `DataView`, or
12941294
`TypedArray` instance containing the encoded data.
12951295
* `options` {Object}
12961296
* `stream` {boolean} `true` if additional chunks of data are expected.

0 commit comments

Comments
 (0)