mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -32,7 +32,7 @@ function hasPath(object, path, hasFunc) {
|
||||
if (result || ++index != length) {
|
||||
return result;
|
||||
}
|
||||
length = object ? object.length : 0;
|
||||
length = object == null ? 0 : object.length;
|
||||
return !!length && isLength(length) && isIndex(key, length) &&
|
||||
(isArray(object) || isArguments(object));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user