From adef648b26474b7d3645b86d6db177f2cbc4e754 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Fri, 24 Apr 2026 03:15:17 +0900 Subject: [PATCH] doc: fix duplicate word "of of" in postMessageToThread PR-URL: https://github.com/nodejs/node/pull/62917 Reviewed-By: Marco Ippolito Reviewed-By: Jacob Smith Reviewed-By: Daeyeon Jeong Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: Stephen Belanger --- doc/api/worker_threads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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