(input: object)
| 188 | } |
| 189 | |
| 190 | function getCachedHash(input: object): number { |
| 191 | let valueHash = hashCache.get(input) |
| 192 | if (valueHash === undefined) { |
| 193 | valueHash = hashObject(input) |
| 194 | } |
| 195 | return valueHash |
| 196 | } |
| 197 | |
| 198 | let nextRefId = 1 |
| 199 | function cachedReferenceHash(fn: object): number { |
no test coverage detected