"use strict";
const isObject$1 = require("./isObject.js");
var isObject = isObject$1;
var objectCreate = Object.create;
var baseCreate = function() {
  function object() {
  }
  return function(proto) {
    if (!isObject(proto)) {
      return {};
    }
    if (objectCreate) {
      return objectCreate(proto);
    }
    object.prototype = proto;
    var result = new object();
    object.prototype = void 0;
    return result;
  };
}();
var _baseCreate = baseCreate;
module.exports = _baseCreate;
//# sourceMappingURL=_baseCreate.js.map
