* Initializes an object clone. * * @private * @param {Object} object The object to clone. * @returns {Object} Returns the initialized clone.
(object)
| 6260 | * @returns {Object} Returns the initialized clone. |
| 6261 | */ |
| 6262 | function initCloneObject(object) { |
| 6263 | return (typeof object.constructor == 'function' && !isPrototype(object)) |
| 6264 | ? baseCreate(getPrototype(object)) |
| 6265 | : {}; |
| 6266 | } |
| 6267 | |
| 6268 | /** |
| 6269 | * Initializes an object clone based on its `toStringTag`. |
no test coverage detected