9.11 AddToKeptObjects ( object )
The abstract operation AddToKeptObjects takes argument object (an Object). It performs the following steps when called:
- Let agentRecord be the
surrounding agent 'sAgent Record . - Append object to agentRecord.[[KeptAlive]].
When the abstract operation AddToKeptObjects is called with a target object reference, it adds the target to a list that will point strongly at the target until ClearKeptObjects is called.