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 MoLow committed Jul 6, 2023
1 parent 94b5eaa commit 49875f0
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 @@ -444,9 +444,9 @@ added: v18.8.0

* `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 @@ -3330,7 +3330,7 @@ reader.read().then(({ value, done }) => {
added: REPLACEME
-->

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

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

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

Sets the default highWaterMark used by streams.

Expand Down

0 comments on commit 49875f0

Please sign in to comment.