diff --git a/lodash.src.js b/lodash.src.js index d4f74bd79..2b078feec 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -1975,14 +1975,14 @@ * @returns {Object} Returns the new object. */ var baseCreate = (function() { - function Object() {} + function object() {} return function(prototype) { if (isObject(prototype)) { - Object.prototype = prototype; - var result = new Object; - Object.prototype = null; + object.prototype = prototype; + var result = new object; + object.prototype = null; } - return result || context.Object(); + return result || {}; }; }());