doc: remove duplicate words in API docs
PR-URL: https://github.com/nodejs/node/pull/17937 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
This commit is contained in:
parent
d67e71e4f7
commit
d74a1ed7d9
@ -623,7 +623,7 @@ pipes between the parent and child. The value is one of the following:
|
|||||||
have an underlying descriptor (file streams do not until the `'open'`
|
have an underlying descriptor (file streams do not until the `'open'`
|
||||||
event has occurred).
|
event has occurred).
|
||||||
5. Positive integer - The integer value is interpreted as a file descriptor
|
5. Positive integer - The integer value is interpreted as a file descriptor
|
||||||
that is is currently open in the parent process. It is shared with the child
|
that is currently open in the parent process. It is shared with the child
|
||||||
process, similar to how {Stream} objects can be shared.
|
process, similar to how {Stream} objects can be shared.
|
||||||
6. `null`, `undefined` - Use default value. For stdio fds 0, 1, and 2 (in other
|
6. `null`, `undefined` - Use default value. For stdio fds 0, 1, and 2 (in other
|
||||||
words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the
|
words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the
|
||||||
|
@ -125,12 +125,12 @@ Creates a new `PerformanceMeasure` entry in the Performance Timeline. A
|
|||||||
`startMark` and `endMark`.
|
`startMark` and `endMark`.
|
||||||
|
|
||||||
The `startMark` argument may identify any *existing* `PerformanceMark` in the
|
The `startMark` argument may identify any *existing* `PerformanceMark` in the
|
||||||
the Performance Timeline, or *may* identify any of the timestamp properties
|
Performance Timeline, or *may* identify any of the timestamp properties
|
||||||
provided by the `PerformanceNodeTiming` class. If the named `startMark` does
|
provided by the `PerformanceNodeTiming` class. If the named `startMark` does
|
||||||
not exist, then `startMark` is set to [`timeOrigin`][] by default.
|
not exist, then `startMark` is set to [`timeOrigin`][] by default.
|
||||||
|
|
||||||
The `endMark` argument must identify any *existing* `PerformanceMark` in the
|
The `endMark` argument must identify any *existing* `PerformanceMark` in the
|
||||||
the Performance Timeline or any of the timestamp properties provided by the
|
Performance Timeline or any of the timestamp properties provided by the
|
||||||
`PerformanceNodeTiming` class. If the named `endMark` does not exist, an
|
`PerformanceNodeTiming` class. If the named `endMark` does not exist, an
|
||||||
error will be thrown.
|
error will be thrown.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user