mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Remove toObject use from _.keysIn.
This commit is contained in:
@@ -7661,8 +7661,6 @@
|
|||||||
if (object == null) {
|
if (object == null) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
object = toObject(object);
|
|
||||||
|
|
||||||
var length = object.length;
|
var length = object.length;
|
||||||
length = (typeof length == 'number' && length > 0 &&
|
length = (typeof length == 'number' && length > 0 &&
|
||||||
(isArray(object) || (support.nonEnumStrings && isString(object)) ||
|
(isArray(object) || (support.nonEnumStrings && isString(object)) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user