From e253f58aac1b88e08e17f59f76ac678d1bba6eac Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 22 Aug 2015 20:09:35 -0700 Subject: [PATCH] Fix `_.keysIn` test fails in IE9. --- lodash.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lodash.js b/lodash.js index c519218ac..be338aa0c 100644 --- a/lodash.js +++ b/lodash.js @@ -2189,6 +2189,8 @@ * @returns {Array} Returns the array of property names. */ function baseKeysIn(object) { + object = object == null ? object : Object(object); + var result = []; for (var key in object) { result.push(key);