Bump to v4.15.0.

This commit is contained in:
John-David Dalton
2016-08-11 23:33:03 -07:00
parent c733f930dc
commit a06bf83085
57 changed files with 700 additions and 446 deletions

View File

@@ -4,7 +4,6 @@ var castPath = require('./_castPath'),
isIndex = require('./_isIndex'),
isKey = require('./_isKey'),
isLength = require('./isLength'),
isString = require('./isString'),
toKey = require('./_toKey');
/**
@@ -35,7 +34,7 @@ function hasPath(object, path, hasFunc) {
}
var length = object ? object.length : 0;
return !!length && isLength(length) && isIndex(key, length) &&
(isArray(object) || isString(object) || isArguments(object));
(isArray(object) || isArguments(object));
}
module.exports = hasPath;