Skip to content

Commit

Permalink
stream: fix Stream._isArrayBufferView
Browse files Browse the repository at this point in the history
  • Loading branch information
SirR4T committed Aug 29, 2018
1 parent 670d657 commit 38fd0fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ try {
}

if (!Stream._isArrayBufferView) {
// Cached to make sure no userland code can tamper with it.
const isArrayBufferView = ArrayBuffer.isView;
Stream._isArrayBufferView = isArrayBufferView;
Stream._isArrayBufferView = ArrayBuffer.isView;
}

const version = process.version.substr(1).split('.');
Expand Down

0 comments on commit 38fd0fc

Please sign in to comment.