Files
lodash/_copyObject.js
John-David Dalton 18d0f1d873 Bump to v4.7.0.
2016-03-31 08:47:39 -07:00

17 lines
470 B
JavaScript

var copyObjectWith = require('./_copyObjectWith');
/**
* Copies properties of `source` to `object`.
*
* @private
* @param {Object} source The object to copy properties from.
* @param {Array} props The property identifiers to copy.
* @param {Object} [object={}] The object to copy properties to.
* @returns {Object} Returns `object`.
*/
function copyObject(source, props, object) {
return copyObjectWith(source, props, object);
}
module.exports = copyObject;