Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/streams/from.js')
-rw-r--r--lib/internal/streams/from.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/streams/from.js b/lib/internal/streams/from.js
index 13e8a73980d..949d0ceb6da 100644
--- a/lib/internal/streams/from.js
+++ b/lib/internal/streams/from.js
@@ -38,11 +38,11 @@ function from(Readable, iterable, opts) {
...opts
});
- // Reading boolean to protect against _read
+ // Flag to protect against _read
// being called before last iteration completion.
let reading = false;
- // needToClose boolean if iterator needs to be explicitly closed
+ // Flag for when iterator needs to be explicitly closed.
let needToClose = false;
readable._read = function() {