From e3b5395905efe20d0f8d420b072460741e1b0645 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 20 Jun 2014 00:14:39 -0700 Subject: [PATCH] Remove falsey array check in `baseFlatten`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index f63c12d0c..11d42c722 100644 --- a/lodash.js +++ b/lodash.js @@ -1599,7 +1599,7 @@ */ function baseFlatten(array, isDeep, isStrict, fromIndex) { var index = (fromIndex || 0) - 1, - length = array ? array.length : 0, + length = array.length, resIndex = 0, result = [];