Bump to v4.8.0.

This commit is contained in:
John-David Dalton
2016-04-01 23:28:00 -07:00
parent 18d0f1d873
commit ee6ec2f672
385 changed files with 2374 additions and 1044 deletions

2
has.js
View File

@@ -29,7 +29,7 @@ var baseHas = require('./_baseHas'),
* // => false
*/
function has(object, path) {
return hasPath(object, path, baseHas);
return object != null && hasPath(object, path, baseHas);
}
module.exports = has;