mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Bump to v4.1.0.
This commit is contained in:
16
_copyObject.js
Normal file
16
_copyObject.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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 names 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;
|
||||
Reference in New Issue
Block a user