MCPcopy 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
22class ClassMap {
23 fact(which) {
24 return which == "abra" ? abra_fact : cadabra_fact;
25 }
26}
27
28obj = true ? new ClassMap.fact("abra").init(n) : new ClassMap.fact("cadabra").init(n)

Callers 1

ternary_new.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected