@qvant/qui-max
Version:
A Vue 3 Design system for Web.
22 lines (21 loc) • 498 B
JavaScript
import isObject from "./isObject.js";
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$1 = baseCreate;
export { baseCreate$1 as default };
//# sourceMappingURL=_baseCreate.js.map