123456789101112131415161718 |
- import baseCreate from './_baseCreate.js';
- import getPrototype from './_getPrototype.js';
- import isPrototype from './_isPrototype.js';
- function initCloneObject(object) {
- return (typeof object.constructor == 'function' && !isPrototype(object))
- ? baseCreate(getPrototype(object))
- : {};
- }
- export default initCloneObject;
|