diff --git a/lib/internal/streams/readable.js b/lib/internal/streams/readable.js index d0424edc1fa32b..93a835f14ed5f2 100644 --- a/lib/internal/streams/readable.js +++ b/lib/internal/streams/readable.js @@ -621,7 +621,7 @@ function maybeReadMore_(stream, state) { // conditions prevent the data from being read: // - The stream has ended (state.ended). // - There is already a pending 'read' operation (state.reading). This is a - // case where the the stream has called the implementation defined _read() + // case where the stream has called the implementation defined _read() // method, but they are processing the call asynchronously and have _not_ // called push() with new data. In this case we skip performing more // read()s. The execution ends in this method again after the _read() ends diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 59219821230b51..f658103b954fbb 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1758,7 +1758,7 @@ function reduceToSingleString( ctx, output, base, braces, extrasType, recurseTimes, value) { if (ctx.compact !== true) { if (typeof ctx.compact === 'number' && ctx.compact >= 1) { - // Memorize the original output length. In case the the output is grouped, + // Memorize the original output length. In case the output is grouped, // prevent lining up the entries on a single line. const entries = output.length; // Group array elements together if the array contains at least six