varisObject=require('./isObject');/** Built-in value references. */varobjectCreate=Object.create;/** * The base implementation of `_.create` without support for assigning * properties to the created object. * * @private * @param {Object} proto The object to inherit from. * @returns {Object} Returns the new object. */varbaseCreate=(function(){functionobject(){}returnfunction(proto){if(!isObject(proto)){return{};}if(objectCreate){returnobjectCreate(proto);}object.prototype=proto;varresult=newobject;object.prototype=undefined;returnresult;};}());module.exports=baseCreate;