diff --git a/lib/util.js b/lib/util.js index 4241ba0f074..02394344578 100644 --- a/lib/util.js +++ b/lib/util.js @@ -423,6 +423,11 @@ exports.pump = function(readStream, writeStream, callback) { exports.inherits = function(ctor, superCtor) { ctor.super_ = superCtor; ctor.prototype = Object.create(superCtor.prototype, { - constructor: { value: ctor, enumerable: false } + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } }); };