◐ Shell
clean mode source ↗

doc: fix duplicate word "of of" in postMessageToThread · nodejs/node@ca02af1

Original file line numberDiff line numberDiff line change

@@ -513,7 +513,7 @@ parent or child of the current thread.

513513

If the two threads are parent-children, use the [`require('node:worker_threads').parentPort.postMessage()`][]

514514

and the [`worker.postMessage()`][] to let the threads communicate.

515515
516-

The example below shows the use of of `postMessageToThread`: it creates 10 nested threads,

516+

The example below shows the use of `postMessageToThread`: it creates 10 nested threads,

517517

the last one will try to communicate with the main thread.

518518
519519

```mjs