From 8b24d1209153eb8c1b20af1491a914fbdd7bc887 Mon Sep 17 00:00:00 2001 From: MaleDong Date: Wed, 22 Aug 2018 12:15:00 +0800 Subject: [PATCH] lib: remove unnecessary symbols Remove `(...)`, because this is a simple,sensitive expression. --- lib/_stream_readable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js index 029faaa6142d96..4f8821ea2055ce 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);