()
| 249 | } |
| 250 | |
| 251 | function nextHash(): number { |
| 252 | const nextHash = ++_objHashUID; |
| 253 | if (_objHashUID & 0x40000000) { |
| 254 | _objHashUID = 0; |
| 255 | } |
| 256 | return nextHash; |
| 257 | } |
| 258 | |
| 259 | // If possible, use a WeakMap. |
| 260 | // TODO using WeakMap should be true everywhere now that WeakMap is widely supported: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap |
no outgoing calls
no test coverage detected