"use strict";
const _assignValue = require("./_assignValue.js");
const _baseAssignValue = require("./_baseAssignValue.js");
var assignValue = _assignValue, baseAssignValue = _baseAssignValue;
function copyObject(source, props, object, customizer) {
  var isNew = !object;
  object || (object = {});
  var index = -1, length = props.length;
  while (++index < length) {
    var key = props[index];
    var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
    if (newValue === void 0) {
      newValue = source[key];
    }
    if (isNew) {
      baseAssignValue(object, key, newValue);
    } else {
      assignValue(object, key, newValue);
    }
  }
  return object;
}
var _copyObject = copyObject;
module.exports = _copyObject;
//# sourceMappingURL=_copyObject.js.map
