From 676747467a3a6da0d0cbe8a66fd49f238098e0c1 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 17 Sep 2014 12:33:34 -0700 Subject: [PATCH] Make the `support` checks in `shimKeys` consistent with `keysIn`. --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 5209a8e2a..0a4a0b36e 100644 --- a/lodash.js +++ b/lodash.js @@ -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];