archives

« Bugzilla Issues Index

#3985 — 12.14.5.4: "AssignmentPattern"


In 12.14.5.4 "Runtime Semantics: KeyedDestructuringAssignmentEvaluation",
steps 6.a and 6.b say:
a. Let AssignmentPattern be the parse of the source text corresponding to
DestructuringAssignmentTarget using either AssignmentPattern or
AssignmentPattern[Yield] as the goal symbol ...
b. Return the result of performing DestructuringAssignmentEvaluation of
AssignmentPattern with rhsValue as the argument.

I think this would be a bit clearer if you didn't use a nonterminal name as the name of a metavariable. E.g., s|Assignment|assignment| once in each step.


fixed in rev34 editor's draft


fixed in rev34