diff --git a/src/polyfill/lodash.js b/src/polyfill/lodash.js index 088577025..4a29d121f 100644 --- a/src/polyfill/lodash.js +++ b/src/polyfill/lodash.js @@ -38,7 +38,11 @@ if (typeof Object.getPrototypeOf !== "function") { } : function (object) { // May break if the constructor has been tampered with - return object.constructor.prototype; + try { + return object.constructor.prototype; + } catch (e) { + return {}; + } }; }