flowRight
最后更新于:2022-04-02 00:08:17
## flowRight
+ [link](./flowRight "Link to this entry.")
+ [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L13269 "View in source.")
+ [npm](https://www.npmjs.com/package/lodash.flowright "See the npm package.")
```
_.flowRight([funcs])
```
这个方法类似 `_.flow`,除了它调用函数的顺序是从右往左的。
### 参数
1. [funcs] (...(Function|Function[])
要调用的函数
### 返回值 (Function)
返回新的函数
### 示例
```
function square(n) {
return n * n;
}
var addSquare = _.flowRight(square, _.add);
addSquare(1, 2);
// => 9
```
';