Fix _.keysIn test fails in IE9.

This commit is contained in:
John-David Dalton
2015-08-22 20:09:35 -07:00
parent 0aa8ad202a
commit e253f58aac

View File

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