Make the support checks in shimKeys consistent with keysIn.

This commit is contained in:
John-David Dalton
2014-09-17 12:33:34 -07:00
parent e2d13541dc
commit 676747467a

View File

@@ -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];