mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Optimize baseIsEqual for arrays.
This commit is contained in:
@@ -2266,9 +2266,9 @@
|
||||
(valType != 'function' && valType != 'object' && othType != 'function' && othType != 'object'))) {
|
||||
return false;
|
||||
}
|
||||
var valClass = toString.call(value),
|
||||
var valClass = isArray(value) ? arrayClass : toString.call(value),
|
||||
valIsArg = valClass == argsClass,
|
||||
othClass = toString.call(other),
|
||||
othClass = isArray(other) ? arrayClass : toString.call(other),
|
||||
othIsArg = othClass == argsClass;
|
||||
|
||||
if (valIsArg) {
|
||||
|
||||
Reference in New Issue
Block a user