mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Remove isArrayLike and isPlainObject guards from baseMerge.
This commit is contained in:
@@ -2173,8 +2173,8 @@
|
|||||||
var isSrcArr = isArrayLike(source);
|
var isSrcArr = isArrayLike(source);
|
||||||
|
|
||||||
(isSrcArr ? arrayEach : baseForOwn)(source, function(srcValue, key, source) {
|
(isSrcArr ? arrayEach : baseForOwn)(source, function(srcValue, key, source) {
|
||||||
var isArr = srcValue && isArrayLike(srcValue),
|
var isArr = isArrayLike(srcValue),
|
||||||
isObj = srcValue && isPlainObject(srcValue),
|
isObj = isPlainObject(srcValue),
|
||||||
value = object[key];
|
value = object[key];
|
||||||
|
|
||||||
if (!(isArr || isObj)) {
|
if (!(isArr || isObj)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user