diff --git a/doc/api/stream.md b/doc/api/stream.md index 23b8059ed99329..78c87d26caf70f 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -281,7 +281,7 @@ has been called, and all data has been flushed to the underlying system. ```js const writer = getWritableStreamSomehow(); for (var i = 0; i < 100; i ++) { - writer.write('hello, #${i}!\n'); + writer.write(`hello, #${i}!\n`); } writer.end('This is the end\n'); writer.on('finish', () => {