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

@@ -22,7 +22,7 @@ import toInteger from './toInteger.js';
* // => [1, 2, 3, [4], 5]
*/
function flattenDepth(array, depth) {
var length = array ? array.length : 0;
var length = array == null ? 0 : array.length;
if (!length) {
return [];
}