mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Fix _.keysIn test fails in IE9.
This commit is contained in:
@@ -2189,6 +2189,8 @@
|
|||||||
* @returns {Array} Returns the array of property names.
|
* @returns {Array} Returns the array of property names.
|
||||||
*/
|
*/
|
||||||
function baseKeysIn(object) {
|
function baseKeysIn(object) {
|
||||||
|
object = object == null ? object : Object(object);
|
||||||
|
|
||||||
var result = [];
|
var result = [];
|
||||||
for (var key in object) {
|
for (var key in object) {
|
||||||
result.push(key);
|
result.push(key);
|
||||||
|
|||||||
Reference in New Issue
Block a user