Skip to content

Commit b611e23

Browse files
committed
fixup: Insert "and async functions" into note re execution contexts
1 parent f344c66 commit b611e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11695,7 +11695,7 @@ <h1>Execution Contexts</h1>
1169511695
<h1>Execution Context Stack</h1>
1169611696
<p>An agent's <dfn id="execution-context-stack" variants="execution context stacks">execution context stack</dfn> is used to organize some or all of the agent's execution contexts. The running execution context is always the top element of this stack.</p>
1169711697
<p>Adding and removing always happens at the “top” of the execution context stack. When an execution context is added, it becomes the topmost (i.e., the running execution context), and when it is later removed, the execution context “below” it becomes topmost again.</p>
11698-
<emu-note>In the absense of generators, every execution context that is pushed onto the stack is new, and when it's removed from the stack it can be discarded. With generators, some execution contexts outlive their time on the stack, exist for a while outside the stack, and then later are pushed onto the stack again.</emu-note>
11698+
<emu-note>In the absence of generators and async functions, every execution context that is pushed onto the stack is new, and when it's removed from the stack it can be discarded. With generators and async functions, some execution contexts outlive their time on the stack, exist for a while outside the stack, and then later are pushed onto the stack again.</emu-note>
1169911699
</emu-clause>
1170011700

1170111701
<emu-clause id="sec-getactivescriptormodule" type="abstract operation">

0 commit comments

Comments
 (0)