lib: remove unnecessary symbols
Remove `(...)`, because this is a simple,sensitive expression. PR-URL: https://github.com/nodejs/node/pull/22455 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
eb61127c48
commit
9c6f59ed3a
@ -147,7 +147,7 @@ function Readable(options) {
|
|||||||
|
|
||||||
// Checking for a Stream.Duplex instance is faster here instead of inside
|
// Checking for a Stream.Duplex instance is faster here instead of inside
|
||||||
// the ReadableState constructor, at least with V8 6.5
|
// the ReadableState constructor, at least with V8 6.5
|
||||||
const isDuplex = (this instanceof Stream.Duplex);
|
const isDuplex = this instanceof Stream.Duplex;
|
||||||
|
|
||||||
this._readableState = new ReadableState(options, this, isDuplex);
|
this._readableState = new ReadableState(options, this, isDuplex);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user