Version 1
[yaffs-website] / node_modules / grunt-legacy-util / node_modules / lodash / _copyObject.js
1 var copyObjectWith = require('./_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 names 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 module.exports = copyObject;