Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FormidableLabs/react-live
/ curriedAdd
Function
curriedAdd
packages/react-live/src/utils/test/compose.test.js:5–5 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
3
describe(
"compose"
, () => {
4
it(
"should compose functions and call the result"
, () => {
5
const
curriedAdd = (a) => (b) => b + a;
6
const
curriedSubtract = (a) => (b) => b - a;
7
/**
8
* Compose (flow right): 5 + 10 - 2 = 13
Callers
1
compose.test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected