From d8fa2f3e89f51016d59e80f17d6a95b90d7ee507 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 8 Aug 2016 20:47:21 -0700 Subject: [PATCH] Fix safari test. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index d53f28bc2..bfa524907 100644 --- a/lodash.js +++ b/lodash.js @@ -2208,7 +2208,7 @@ * @returns {Array} Returns the array of property names. */ function arrayLikeKeys(value, inherited) { - var result = isArray(value) + var result = (isArray(value) || isArguments(value)) ? baseTimes(value.length, String) : [];