mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Bump to v3.9.0.
This commit is contained in:
@@ -2,8 +2,7 @@ var isArguments = require('../lang/isArguments'),
|
||||
isArray = require('../lang/isArray'),
|
||||
isIndex = require('./isIndex'),
|
||||
isLength = require('./isLength'),
|
||||
keysIn = require('../object/keysIn'),
|
||||
support = require('../support');
|
||||
keysIn = require('../object/keysIn');
|
||||
|
||||
/** Used for native method references. */
|
||||
var objectProto = Object.prototype;
|
||||
@@ -24,8 +23,8 @@ function shimKeys(object) {
|
||||
propsLength = props.length,
|
||||
length = propsLength && object.length;
|
||||
|
||||
var allowIndexes = length && isLength(length) &&
|
||||
(isArray(object) || (support.nonEnumArgs && isArguments(object)));
|
||||
var allowIndexes = !!length && isLength(length) &&
|
||||
(isArray(object) || isArguments(object));
|
||||
|
||||
var index = -1,
|
||||
result = [];
|
||||
|
||||
Reference in New Issue
Block a user