diff options
author | MaleDong <maledong_github@outlook.com> | 2018-08-22 12:15:00 +0800 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-09-13 10:51:12 +0200 |
commit | 9c6f59ed3a145de489d467be886bb9c5f5c62613 (patch) | |
tree | 3388f73ddc5ef91cea6ec97379e25f1c8db24ee2 /lib/_stream_readable.js | |
parent | eb61127c48ba59e52d7cea293ad80fa54000939c (diff) | |
download | android-node-v8-9c6f59ed3a145de489d467be886bb9c5f5c62613.tar.gz android-node-v8-9c6f59ed3a145de489d467be886bb9c5f5c62613.tar.bz2 android-node-v8-9c6f59ed3a145de489d467be886bb9c5f5c62613.zip |
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>
Diffstat (limited to 'lib/_stream_readable.js')
-rw-r--r-- | lib/_stream_readable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js index 07e2c41bee..2b9600f0fd 100644 --- a/lib/_stream_readable.js +++ b/lib/_stream_readable.js @@ -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); |