mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
define(['./_assignValue'], function(assignValue) {
|
||||
|
||||
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
|
||||
var undefined;
|
||||
|
||||
/**
|
||||
* Copies properties of `source` to `object`.
|
||||
*
|
||||
@@ -21,9 +24,9 @@ define(['./_assignValue'], function(assignValue) {
|
||||
|
||||
var newValue = customizer
|
||||
? customizer(object[key], source[key], key, object, source)
|
||||
: source[key];
|
||||
: undefined;
|
||||
|
||||
assignValue(object, key, newValue);
|
||||
assignValue(object, key, newValue === undefined ? source[key] : newValue);
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user