import assignValue from "./_assignValue3.js";
import copyObject from "./_copyObject3.js";
import createAssigner from "./_createAssigner3.js";
import isArrayLike from "./isArrayLike3.js";
import isPrototype from "./_isPrototype3.js";
import keys from "./keys3.js";
var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
var assign = createAssigner(function(object, source) {
  if (isPrototype(source) || isArrayLike(source)) {
    copyObject(source, keys(source), object);
    return;
  }
  for (var key in source) {
    if (hasOwnProperty.call(source, key)) {
      assignValue(object, key, source[key]);
    }
  }
});
export {
  assign as default
};
//# sourceMappingURL=assign2.js.map
