diff options
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r-- | doc/api/worker_threads.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 0fc133376d..bc9f18402f 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -109,7 +109,7 @@ const { MessageChannel } = require('worker_threads'); const { port1, port2 } = new MessageChannel(); port1.on('message', (message) => console.log('received', message)); port2.postMessage({ foo: 'bar' }); -// prints: received { foo: 'bar' } from the `port1.on('message')` listener +// Prints: received { foo: 'bar' } from the `port1.on('message')` listener ``` ## Class: MessagePort |