9.10 ClearKeptObjects ( )

The abstract operation ClearKeptObjects takes no arguments. ECMAScript implementations are expected to call ClearKeptObjects when a synchronous sequence of ECMAScript executions completes. It performs the following steps when called:

  1. Let agentRecord be the surrounding agent's Agent Record.
  2. Set agentRecord.[[KeptAlive]] to a new empty List.