💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 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 ```