github-pages-deploy-action/node_modules/@babel/runtime-corejs3/helpers/defineProperty.js

18 lines
366 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
var _Object$defineProperty = require("../core-js/object/define-property");
function _defineProperty(obj, key, value) {
if (key in obj) {
_Object$defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
module.exports = _defineProperty;