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:
Родитель
bd6b2ab21d
Коммит
e2b72c2ca3
|
@ -147,7 +147,7 @@ function Readable(options) {
|
|||
|
||||
// Checking for a Stream.Duplex instance is faster here instead of inside
|
||||
// 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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче