Bump to v4.0.0.

This commit is contained in:
John-David Dalton
2015-08-24 10:34:23 -07:00
parent 4ef16c96e5
commit 0646bacd86
665 changed files with 24828 additions and 19696 deletions

View File

@@ -1,6 +1,7 @@
var isArrayLike = require('./isArrayLike'),
var eq = require('../eq'),
isArrayLike = require('../isArrayLike'),
isIndex = require('./isIndex'),
isObject = require('../lang/isObject');
isObject = require('../isObject');
/**
* Checks if the provided arguments are from an iteratee call.
@@ -19,8 +20,7 @@ function isIterateeCall(value, index, object) {
if (type == 'number'
? (isArrayLike(object) && isIndex(index, object.length))
: (type == 'string' && index in object)) {
var other = object[index];
return value === value ? (value === other) : (other !== other);
return eq(object[index], value);
}
return false;
}