Many productions in EcmaScript are given with the following "modifiers":
[Yield, Await, In, Return]
Here are a few examples:
ArrayLiteral[Yield, Await]:
...
ElementList[Yield, Await]:
... AssignmentExpression[+In, ?Yield, ?Await]
I've searched through the spec for the explanation, specifically Grammar Notation
section, but can't find it. It should be there. Can someone please point me to the relevant paragraph and maybe provide a short explanation?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…