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 May 6, 2023
1 parent 41b1e54 commit 281ef80
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 @@ -3360,7 +3360,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 @@ -3372,8 +3372,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 281ef80

Please sign in to comment.