diff --git a/lib/internal/streams/from.js b/lib/internal/streams/from.js index 13e8a73980ddd1..949d0ceb6dae50 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() {