diff --git a/lodash.src.js b/lodash.src.js index 3f9dcc1f9..ed54ebcba 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -8256,7 +8256,10 @@ if (!(value && objToString.call(value) == objectTag)) { return false; } - var proto = getPrototypeOf(value); + var proto = typeof value.constructor == 'function' + ? getPrototypeOf(value) + : objectProto; + if (proto === null) { return true; }