Skip to content

Commit 8a9770d

Browse files
juckecjihrig
authored andcommitted
doc: fix line length in worker_threads.md
PR-URL: #34419 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 8981e0c commit 8a9770d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/api/worker_threads.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,10 @@ markAsUntransferable(pooledBuffer);
109109
const { port1 } = new MessageChannel();
110110
port1.postMessage(typedArray1, [ typedArray1.buffer ]);
111111

112-
// The following line prints the contents of typedArray1 -- it still owns its
113-
// memory and has been cloned, not transferred. Without `markAsUntransferable()`,
114-
// this would print an empty Uint8Array. typedArray2 is intact as well.
112+
// The following line prints the contents of typedArray1 -- it still owns
113+
// its memory and has been cloned, not transferred. Without
114+
// `markAsUntransferable()`, this would print an empty Uint8Array.
115+
// typedArray2 is intact as well.
115116
console.log(typedArray1);
116117
console.log(typedArray2);
117118
```

0 commit comments

Comments
 (0)