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 74d0266

Browse filesBrowse files
vhmthItalo A. Casas
authored andcommitted
doc: fix string interpolation in Stream 'finish'
PR-URL: #12221 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 4b54520 commit 74d0266
Copy full SHA for 74d0266

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/stream.md‎

Copy file name to clipboardExpand all lines: doc/api/stream.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ has been called, and all data has been flushed to the underlying system.
281281
```js
282282
const writer = getWritableStreamSomehow();
283283
for (var i = 0; i < 100; i ++) {
284-
writer.write('hello, #${i}!\n');
284+
writer.write(`hello, #${i}!\n`);
285285
}
286286
writer.end('This is the end\n');
287287
writer.on('finish', () => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.