diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 6fee0d8368a..ed90ee2a456 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -513,7 +513,7 @@ parent or child of the current thread. If the two threads are parent-children, use the [`require('node:worker_threads').parentPort.postMessage()`][] and the [`worker.postMessage()`][] to let the threads communicate. -The example below shows the use of of `postMessageToThread`: it creates 10 nested threads, +The example below shows the use of `postMessageToThread`: it creates 10 nested threads, the last one will try to communicate with the main thread. ```mjs