Parameters
Behavior
- Restoring an unhooked prototype raises, so guard with
isprotohookedif you are not sure. - Live frames are handled. A closure part-way through the hook body is moved onto the carrier so it finishes in the hook’s code rather than jumping into the restored original.