archives

« Bugzilla Issues Index

#3543 — 13.6.4.13 ForIn/OfBodyEvaluation: Undefined evaluation semantics in step 5.a.i.1


13.6.4.13 Runtime Semantics: ForIn/OfBodyEvaluation

Step 5.a.i.1: `Let lhsRef be the result of evaluating lhs (it may be evaluated repeatedly).`


If `lhs` is `ForBinding` the evaluation semantics not defined, because neither `ForBinding` nor `BindingIdentifier` have a matching "Runtime Semantics: Evaluation" definition.


fixed in rev31 editor's draft.

added evaluation rule for ForBinding


In Rev31