defineProperty.js 362 B

12345678910
  1. var toPropertyKey = require("./toPropertyKey.js");
  2. function _defineProperty(e, r, t) {
  3. return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
  4. value: t,
  5. enumerable: !0,
  6. configurable: !0,
  7. writable: !0
  8. }) : e[r] = t, e;
  9. }
  10. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;