> For the complete documentation index, see [llms.txt](https://lodash.shujuwajue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lodash.shujuwajue.com/util/flowright.md).

# \_.flowRight

**语法：**

```javascript
_.flowRight([funcs])
```

**源代码链接：**[source](https://github.com/lodash/lodash/blob/4.17.10/lodash.js#L15461)

**npm包链接：**[npm package](https://www.npmjs.com/package/lodash.flowright)

**描述：**

这个方法类似[`_.flow`](https://lodash.com/docs/4.17.10#flow)，除了它调用函数的顺序是从右往左的。

**开始版本：**&#x33;.0.0

**参数：**

* `[funcs] (...(Function|Function[]))`: 要调用的函数。

**返回值：**

* `(Function)`: 返回新的函数。

**例子：**

```javascript
function square(n) {
  return n * n;
}

var addSquare = _.flowRight([square, _.add]);
addSquare(1, 2);
// => 9
```
