(fn: object)
| 197 | |
| 198 | let nextRefId = 1 |
| 199 | function cachedReferenceHash(fn: object): number { |
| 200 | let valueHash = hashCache.get(fn) |
| 201 | if (valueHash === undefined) { |
| 202 | valueHash = nextRefId ^ FUNCTIONS |
| 203 | nextRefId++ |
| 204 | hashCache.set(fn, valueHash) |
| 205 | } |
| 206 | return valueHash |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * Strings sorted lexicographically. |
no test coverage detected