mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Make the support checks in shimKeys consistent with keysIn.
This commit is contained in:
@@ -3120,8 +3120,8 @@
|
||||
result = [];
|
||||
|
||||
var allowIndexes = typeof objLength == 'number' && objLength > 0 &&
|
||||
(isArray(object) || (support.nonEnumArgs && isArguments(object)) ||
|
||||
(support.nonEnumStrings && isString(object)));
|
||||
(isArray(object) || (support.nonEnumStrings && isString(object)) ||
|
||||
(support.nonEnumArgs && isArguments(object)));
|
||||
|
||||
while (++index < length) {
|
||||
var key = props[index];
|
||||
|
||||
Reference in New Issue
Block a user