Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:08:19 -07:00
parent 6778141728
commit be1e9a3170
113 changed files with 277 additions and 335 deletions

View File

@@ -10,7 +10,7 @@ import baseIndexOf from './_baseIndexOf.js';
* @returns {boolean} Returns `true` if `target` is found, else `false`.
*/
function arrayIncludes(array, value) {
var length = array ? array.length : 0;
var length = array == null ? 0 : array.length;
return !!length && baseIndexOf(array, value, 0) > -1;
}