doc: fix comma of the list in worker_threads.md · nodejs/node@c7b34cd (original) (raw)

Original file line number Diff line number Diff line change
@@ -351,7 +351,7 @@ Notable differences inside a Worker environment are:
351 351 - The [`process.stdin`][], [`process.stdout`][] and [`process.stderr`][]
352 352 may be redirected by the parent thread.
353 353 - The [`require('worker_threads').isMainThread`][] property is set to `false`.
354 -- The [`require('worker_threads').parentPort`][] message port is available,
354 +- The [`require('worker_threads').parentPort`][] message port is available.
355 355 - [`process.exit()`][] does not stop the whole program, just the single thread,
356 356 and [`process.abort()`][] is not available.
357 357 - [`process.chdir()`][] and `process` methods that set group or user ids