mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -22,7 +22,7 @@ var baseFlatten = require('./_baseFlatten'),
|
||||
* // => [1, 1, 2, 2]
|
||||
*/
|
||||
function flatMap(collection, iteratee) {
|
||||
return baseFlatten(map(collection, iteratee));
|
||||
return baseFlatten(map(collection, iteratee), 1);
|
||||
}
|
||||
|
||||
module.exports = flatMap;
|
||||
|
||||
Reference in New Issue
Block a user