diff --git a/lodash.js b/lodash.js index f80d09a54..458490c76 100644 --- a/lodash.js +++ b/lodash.js @@ -7950,7 +7950,7 @@ accumulator = []; } else if (isObject(object)) { var Ctor = object.constructor; - accumulator = baseCreate(typeof Ctor == 'function' && Ctor.prototype); + accumulator = baseCreate(Ctor && Ctor.prototype); } else { accumulator = {}; }