diff --git a/spec.html b/spec.html index 511a46d609c..2fa1606c437 100644 --- a/spec.html +++ b/spec.html @@ -42064,6 +42064,17 @@

Initializers in ForIn Statement Heads

1. Let _keyResult_ be ? ForIn/OfHeadEvaluation(« », |Expression|, ~enumerate~). 1. Return ? ForIn/OfBodyEvaluation(|BindingIdentifier|, |Statement|, _keyResult_, ~enumerate~, ~varBinding~, _labelSet_). +

The runtime semantics of Evaluation are augmented with the following:

+ + BindingIdentifier : + Identifier + `yield` + `await` + + + 1. Let _bindingId_ be StringValue of |BindingIdentifier|. + 1. Return ? ResolveBinding(_bindingId_). +