Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scottrogowski/code2flow
/ fact
Method
fact
tests/test_code/js/ternary_new/ternary_new.js:23–25 ·
view source on GitHub ↗
(which)
Source
from the content-addressed store, hash-verified
21
22
class
ClassMap {
23
fact(which) {
24
return
which ==
"abra"
? abra_fact : cadabra_fact;
25
}
26
}
27
28
obj = true ?
new
ClassMap.fact(
"abra"
).init(n) :
new
ClassMap.fact(
"cadabra"
).init(n)
Callers
1
ternary_new.js
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected