This commit is contained in:
Stephen Franceschelli
2019-07-15 13:57:37 -04:00
parent b387336039
commit c58156a47c
7043 changed files with 0 additions and 1866383 deletions

View File

@@ -1,18 +0,0 @@
var baseCreate = require('./_baseCreate'),
getPrototype = require('./_getPrototype'),
isPrototype = require('./_isPrototype');
/**
* Initializes an object clone.
*
* @private
* @param {Object} object The object to clone.
* @returns {Object} Returns the initialized clone.
*/
function initCloneObject(object) {
return (typeof object.constructor == 'function' && !isPrototype(object))
? baseCreate(getPrototype(object))
: {};
}
module.exports = initCloneObject;