extends.js 473 B

123456789101112131415161718
  1. import _Object$assign from "@babel/runtime-corejs3/core-js/object/assign";
  2. export default function _extends() {
  3. _extends = _Object$assign || function (target) {
  4. for (var i = 1; i < arguments.length; i++) {
  5. var source = arguments[i];
  6. for (var key in source) {
  7. if (Object.prototype.hasOwnProperty.call(source, key)) {
  8. target[key] = source[key];
  9. }
  10. }
  11. }
  12. return target;
  13. };
  14. return _extends.apply(this, arguments);
  15. }