Skip to content

Commit 084a760

Browse files
tniessenjuanarbol
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 06fdbcd commit 084a760

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
@@ -582,7 +582,7 @@ changes:
582582
* `showProxy` {boolean} If `true`, `Proxy` inspection includes
583583
the [`target` and `handler`][] objects. **Default:** `false`.
584584
* `maxArrayLength` {integer} Specifies the maximum number of `Array`,
585-
[`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
585+
[`TypedArray`][], [`WeakMap`][], and [`WeakSet`][] elements to include when
586586
formatting. Set to `null` or `Infinity` to show all elements. Set to `0` or
587587
negative to show no elements. **Default:** `100`.
588588
* `maxStringLength` {integer} Specifies the maximum number of characters to
@@ -1275,7 +1275,7 @@ changes:
12751275
* `ignoreBOM` {boolean} When `true`, the `TextDecoder` will include the byte
12761276
order mark in the decoded result. When `false`, the byte order mark will
12771277
be removed from the output. This option is only used when `encoding` is
1278-
`'utf-8'`, `'utf-16be'` or `'utf-16le'`. **Default:** `false`.
1278+
`'utf-8'`, `'utf-16be'`, or `'utf-16le'`. **Default:** `false`.
12791279

12801280
Creates a new `TextDecoder` instance. The `encoding` may specify one of the
12811281
supported encodings or an alias.
@@ -1284,7 +1284,7 @@ The `TextDecoder` class is also available on the global object.
12841284

12851285
### `textDecoder.decode([input[, options]])`
12861286

1287-
* `input` {ArrayBuffer|DataView|TypedArray} An `ArrayBuffer`, `DataView` or
1287+
* `input` {ArrayBuffer|DataView|TypedArray} An `ArrayBuffer`, `DataView`, or
12881288
`TypedArray` instance containing the encoded data.
12891289
* `options` {Object}
12901290
* `stream` {boolean} `true` if additional chunks of data are expected.

0 commit comments

Comments
 (0)