(destination, source)
| 294 | } |
| 295 | |
| 296 | function copyHooks(destination, source) { |
| 297 | destination[kInit] = source[kInit]; |
| 298 | destination[kBefore] = source[kBefore]; |
| 299 | destination[kAfter] = source[kAfter]; |
| 300 | destination[kDestroy] = source[kDestroy]; |
| 301 | destination[kPromiseResolve] = source[kPromiseResolve]; |
| 302 | } |
| 303 | |
| 304 | |
| 305 | // Then restore the correct hooks array in case any hooks were added/removed |
no outgoing calls
no test coverage detected
searching dependent graphs…