MCPcopy Create free account
hub / github.com/Mayandev/fe-interview-handwrite / compose

Function compose

src/compose.js:7–13  ·  view source on GitHub ↗

* 接收若干个函数作为参数,每个函数执行后的输出作为下一个函数的输入。 * 执行方向是自右向左的,初始函数的参数在最右边。 * @param {...any} fns * @returns

(...fns)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compose.jsFile · 0.85

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected