diff --git a/lib/internal/streams/readable.js b/lib/internal/streams/readable.js index 1cba326970d4a8..fb587622550452 100644 --- a/lib/internal/streams/readable.js +++ b/lib/internal/streams/readable.js @@ -258,7 +258,7 @@ ObjectDefineProperties(ReadableState.prototype, { function ReadableState(options, stream, isDuplex) { - // Bit map field to store ReadableState more effciently with 1 bit per field + // Bit map field to store ReadableState more efficiently with 1 bit per field // instead of a V8 slot per field. this[kState] = kEmitClose | kAutoDestroy | kConstructed | kSync; diff --git a/lib/internal/streams/transform.js b/lib/internal/streams/transform.js index 42e1adda618b87..2f4d498bc780a3 100644 --- a/lib/internal/streams/transform.js +++ b/lib/internal/streams/transform.js @@ -180,7 +180,7 @@ Transform.prototype._write = function(chunk, encoding, callback) { if (rState.ended) { // If user has called this.push(null) we have to - // delay the callback to properly progate the new + // delay the callback to properly propagate the new // state. process.nextTick(callback); } else if ( diff --git a/lib/internal/streams/utils.js b/lib/internal/streams/utils.js index d7d76783274e2f..4b359279556592 100644 --- a/lib/internal/streams/utils.js +++ b/lib/internal/streams/utils.js @@ -8,7 +8,7 @@ const { } = primordials; // We need to use SymbolFor to make these globally available -// for interopt with readable-stream, i.e. readable-stream +// for interoperability with readable-stream, i.e. readable-stream // and node core needs to be able to read/write private state // from each other for proper interoperability. const kIsDestroyed = SymbolFor('nodejs.stream.destroyed'); diff --git a/lib/internal/streams/writable.js b/lib/internal/streams/writable.js index 96443f1c7898fb..ea89abf97c7604 100644 --- a/lib/internal/streams/writable.js +++ b/lib/internal/streams/writable.js @@ -300,7 +300,7 @@ ObjectDefineProperties(WritableState.prototype, { }); function WritableState(options, stream, isDuplex) { - // Bit map field to store WritableState more effciently with 1 bit per field + // Bit map field to store WritableState more efficiently with 1 bit per field // instead of a V8 slot per field. this[kState] = kSync | kConstructed | kEmitClose | kAutoDestroy;