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