Skip to content

Commit ca0044b

Browse files
authored
doc: use serial comma in worker_threads docs
Refs: #11321 Refs: #17384 PR-URL: #43220 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent 0818b52 commit ca0044b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/worker_threads.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ circularData.foo = circularData;
633633
port2.postMessage(circularData);
634634
```
635635

636-
`transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][] and
636+
`transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][], and
637637
[`FileHandle`][] objects.
638638
After transferring, they are not usable on the sending side of the channel
639639
anymore (even if they are not contained in `value`). Unlike with
@@ -836,8 +836,8 @@ Most Node.js APIs are available inside of it.
836836

837837
Notable differences inside a Worker environment are:
838838

839-
* The [`process.stdin`][], [`process.stdout`][] and [`process.stderr`][]
840-
may be redirected by the parent thread.
839+
* The [`process.stdin`][], [`process.stdout`][], and [`process.stderr`][]
840+
streams may be redirected by the parent thread.
841841
* The [`require('node:worker_threads').isMainThread`][] property is set to `false`.
842842
* The [`require('node:worker_threads').parentPort`][] message port is available.
843843
* [`process.exit()`][] does not stop the whole program, just the single thread,

0 commit comments

Comments
 (0)