Skip to content

Commit

Permalink
doc: fix params names
Browse files Browse the repository at this point in the history
PR-URL: #47853
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
  • Loading branch information
Semigradsky authored and targos committed May 12, 2023
1 parent 9a362aa commit 93f1aa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,9 @@ added:

* `fn` {Function} a tracked function to reset.

reset calls of the call tracker.
if a tracked function is passed as an argument, the calls will be reset for it.
if no arguments are passed, all tracked functions will be reset
Reset calls of the call tracker.
If a tracked function is passed as an argument, the calls will be reset for it.
If no arguments are passed, all tracked functions will be reset

```mjs
import assert from 'node:assert';
Expand Down
6 changes: 3 additions & 3 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -3354,7 +3354,7 @@ reader.read().then(({ value, done }) => {
added: v19.9.0
-->

* {boolean} objectMode
* `objectMode` {boolean}
* Returns: {integer}

Returns the default highWaterMark used by streams.
Expand All @@ -3366,8 +3366,8 @@ Defaults to `16384` (16 KiB), or `16` for `objectMode`.
added: v19.9.0
-->

* {boolean} objectMode
* {integer} highWaterMark value
* `objectMode` {boolean}
* `value` {integer} highWaterMark value

Sets the default highWaterMark used by streams.

Expand Down

0 comments on commit 93f1aa2

Please sign in to comment.