diff --git a/lib/_stream_writable.js b/lib/_stream_writable.js index ed354126f7d812..c1ab994bb2fa76 100644 --- a/lib/_stream_writable.js +++ b/lib/_stream_writable.js @@ -55,8 +55,8 @@ function WritableState(options, stream, isDuplex) { // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different - // values for the readable and the writable sides of the duplex stream. - // These options can be provided separately as readableXXX and writableXXX. + // values for the readable and the writable sides of the duplex stream, + // e.g. options.readableObjectMode vs. options.writableObjectMode, etc. if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Stream.Duplex;