github-pages-deploy-action/node_modules/@babel/runtime-corejs3/helpers/defineProperty.js
2020-03-06 22:45:40 -05:00

18 lines
366 B
JavaScript

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;