* Initializes an object clone. * * @private * @param {Object} object The object to clone. * @returns {Object} Returns the initialized clone.
(object)
| 16796 | * @returns {Object} Returns the initialized clone. |
| 16797 | */ |
| 16798 | function initCloneObject(object) { |
| 16799 | return (typeof object.constructor == 'function' && !isPrototype(object)) |
| 16800 | ? baseCreate(getPrototype(object)) |
| 16801 | : {}; |
| 16802 | } |
| 16803 | |
| 16804 | /** |
| 16805 | * Initializes an object clone based on its `toStringTag`. |
no test coverage detected