diff --git a/lib/internal/streams/readable.js b/lib/internal/streams/readable.js index 5b452be93ec0cc..cb13210d2b87db 100644 --- a/lib/internal/streams/readable.js +++ b/lib/internal/streams/readable.js @@ -616,7 +616,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 7845ee20ae8459..2b6124f61105a1 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1777,7 +1777,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