(parent, v)
| 28 | var parent2children = {}; |
| 29 | var refs = {}; |
| 30 | var addToLookup = function(parent, v) { |
| 31 | if(parent2children[parent]) parent2children[parent].push(v); |
| 32 | else parent2children[parent] = [v]; |
| 33 | refs[v] = 1; |
| 34 | }; |
| 35 | |
| 36 | // treat number `0` as valid |
| 37 | var isValidKey = function(k) { |
no outgoing calls
no test coverage detected
searching dependent graphs…