mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Bump to v4.13.0.
This commit is contained in:
4
flow.js
4
flow.js
@@ -1,4 +1,4 @@
|
||||
import createFlow from './_createFlow';
|
||||
import createFlow from './_createFlow.js';
|
||||
|
||||
/**
|
||||
* Creates a function that returns the result of invoking the given functions
|
||||
@@ -18,7 +18,7 @@ import createFlow from './_createFlow';
|
||||
* return n * n;
|
||||
* }
|
||||
*
|
||||
* var addSquare = _.flow(_.add, square);
|
||||
* var addSquare = _.flow([_.add, square]);
|
||||
* addSquare(1, 2);
|
||||
* // => 9
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user