1 | import copyObjectWith from './_copyObjectWith';
|
2 |
|
3 | /**
|
4 | * Copies properties of `source` to `object`.
|
5 | *
|
6 | * @private
|
7 | * @param {Object} source The object to copy properties from.
|
8 | * @param {Array} props The property identifiers to copy.
|
9 | * @param {Object} [object={}] The object to copy properties to.
|
10 | * @returns {Object} Returns `object`.
|
11 | */
|
12 | function copyObject(source, props, object) {
|
13 | return copyObjectWith(source, props, object);
|
14 | }
|
15 |
|
16 | export default copyObject;
|