Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b644ab6

Browse filesBrowse files
juckeMylesBorins
authored andcommitted
doc: fix line length in worker_threads.md
PR-URL: #34419 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent fb9b66b commit b644ab6
Copy full SHA for b644ab6

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.