diff options
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r-- | doc/api/stream.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md index da6c51907a..c8462760f5 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -280,7 +280,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++) { +for (let i = 0; i < 100; i++) { writer.write(`hello, #${i}!\n`); } writer.end('This is the end\n'); |