Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/MoonHighway/learning-react
/ compose
Function
compose
chapter-03/09-composition/05-declarative-clock.js:44–49 ·
view source on GitHub ↗
(...fns)
Source
from the content-addressed store, hash-verified
42
})
43
44
const
compose = (...fns) =>
45
(arg) =>
46
fns.reduce(
47
(composed, f) => f(composed),
48
arg
49
)
50
51
const
convertToCivilianTime = clockTime =>
52
compose(
Callers
3
convertToCivilianTime
Function · 0.70
doubleDigits
Function · 0.70
startTicking
Function · 0.70
Calls
1
f
Function · 0.85
Tested by
no test coverage detected