(obj)
| 390 | } |
| 391 | |
| 392 | function getConstructorOf(obj) { |
| 393 | while (obj) { |
| 394 | const descriptor = ObjectGetOwnPropertyDescriptor(obj, 'constructor'); |
| 395 | if (descriptor !== undefined && |
| 396 | typeof descriptor.value === 'function' && |
| 397 | descriptor.value.name !== '') { |
| 398 | return descriptor.value; |
| 399 | } |
| 400 | |
| 401 | obj = ObjectGetPrototypeOf(obj); |
| 402 | } |
| 403 | |
| 404 | return null; |
| 405 | } |
| 406 | |
| 407 | let cachedURL; |
| 408 | let cachedCWD; |
no outgoing calls
no test coverage detected
searching dependent graphs…