defaults.js 296 B

123456789
  1. function _defaults(e, r) {
  2. for (var t = Object.getOwnPropertyNames(r), o = 0; o < t.length; o++) {
  3. var n = t[o],
  4. a = Object.getOwnPropertyDescriptor(r, n);
  5. a && a.configurable && void 0 === e[n] && Object.defineProperty(e, n, a);
  6. }
  7. return e;
  8. }
  9. export { _defaults as default };