Skip to content

Commit 512d881

Browse files
committed
assert -> note
1 parent b0d8e30 commit 512d881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13930,7 +13930,7 @@ <h1>
1393013930
1. Let _usedEnv_ be *undefined*.
1393113931
1. Else,
1393213932
1. Let _usedEnv_ be _env_.
13933-
1. Assert: The following step cannot return a ReturnCompletion because the only way such a completion can arise in expression position is by use of |YieldExpression|, which is forbidden in parameter lists by Early Error rules in <emu-xref href="#sec-generator-function-definitions-static-semantics-early-errors"></emu-xref> and <emu-xref href="#sec-async-generator-function-definitions-static-semantics-early-errors"></emu-xref>.
13933+
1. NOTE: The following step cannot return a ReturnCompletion because the only way such a completion can arise in expression position is by use of |YieldExpression|, which is forbidden in parameter lists by Early Error rules in <emu-xref href="#sec-generator-function-definitions-static-semantics-early-errors"></emu-xref> and <emu-xref href="#sec-async-generator-function-definitions-static-semantics-early-errors"></emu-xref>.
1393413934
1. Perform ? IteratorBindingInitialization of _formals_ with arguments _iteratorRecord_ and _usedEnv_.
1393513935
1. If _hasParameterExpressions_ is *false*, then
1393613936
1. NOTE: Only a single Environment Record is needed for the parameters and top-level vars.

0 commit comments

Comments
 (0)