We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8981e0c commit 8a9770dCopy full SHA for 8a9770d
doc/api/worker_threads.md
@@ -109,9 +109,10 @@ markAsUntransferable(pooledBuffer);
109
const { port1 } = new MessageChannel();
110
port1.postMessage(typedArray1, [ typedArray1.buffer ]);
111
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.
+// The following line prints the contents of typedArray1 -- it still owns
+// its memory and has been cloned, not transferred. Without
+// `markAsUntransferable()`, this would print an empty Uint8Array.
115
+// typedArray2 is intact as well.
116
console.log(typedArray1);
117
console.log(typedArray2);
118
```
0 commit comments