mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v3.9.0.
This commit is contained in:
@@ -47,8 +47,9 @@ import bindCallback from '../internal/bindCallback';
|
||||
* // => 20
|
||||
*/
|
||||
function cloneDeep(value, customizer, thisArg) {
|
||||
customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);
|
||||
return baseClone(value, true, customizer);
|
||||
return typeof customizer == 'function'
|
||||
? baseClone(value, true, bindCallback(customizer, thisArg, 1))
|
||||
: baseClone(value, true);
|
||||
}
|
||||
|
||||
export default cloneDeep;
|
||||
|
||||
Reference in New Issue
Block a user