mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Search for srcValue in stack before objValue.
This commit is contained in:
@@ -3038,7 +3038,7 @@
|
||||
function baseMergeDeep(object, source, key, mergeFunc, customizer, stack) {
|
||||
var objValue = object[key],
|
||||
srcValue = source[key],
|
||||
stacked = stack.get(objValue) || stack.get(srcValue);
|
||||
stacked = stack.get(srcValue) || stack.get(objValue);
|
||||
|
||||
if (stacked) {
|
||||
assignMergeValue(object, key, stacked);
|
||||
|
||||
Reference in New Issue
Block a user