Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 11832-11832 (lines=1) @@
11829
// Test _writableState for inheritance to account for Duplex streams,
11830
// whose prototype chain only points to Readable.
11831
var realHasInstance;
11832
if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {
11833
  realHasInstance = Function.prototype[Symbol.hasInstance];
11834
  Object.defineProperty(Writable, Symbol.hasInstance, {
11835
    value: function (object) {

node_modules/readable-stream/lib/_stream_writable.js 1 location

@@ 234-234 (lines=1) @@
231
// Test _writableState for inheritance to account for Duplex streams,
232
// whose prototype chain only points to Readable.
233
var realHasInstance;
234
if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {
235
  realHasInstance = Function.prototype[Symbol.hasInstance];
236
  Object.defineProperty(Writable, Symbol.hasInstance, {
237
    value: function (object) {