mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Bump to v3.6.0.
This commit is contained in:
@@ -11,11 +11,11 @@ import baseFlatten from '../internal/baseFlatten';
|
||||
* @example
|
||||
*
|
||||
* _.flattenDeep([1, [2, 3, [4]]]);
|
||||
* // => [1, 2, 3, 4];
|
||||
* // => [1, 2, 3, 4]
|
||||
*/
|
||||
function flattenDeep(array) {
|
||||
var length = array ? array.length : 0;
|
||||
return length ? baseFlatten(array, true, false, 0) : [];
|
||||
return length ? baseFlatten(array, true) : [];
|
||||
}
|
||||
|
||||
export default flattenDeep;
|
||||
|
||||
Reference in New Issue
Block a user