Bump to v4.8.0.

This commit is contained in:
John-David Dalton
2016-04-01 23:28:48 -07:00
parent d46bcaa98d
commit a2438ffc51
62 changed files with 402 additions and 282 deletions

2
has.js
View File

@@ -28,7 +28,7 @@ define(['./_baseHas', './_hasPath'], function(baseHas, hasPath) {
* // => false
*/
function has(object, path) {
return hasPath(object, path, baseHas);
return object != null && hasPath(object, path, baseHas);
}
return has;