Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit 39243d1

Browse files
leobalterdomenic
authored andcommitted
Annotate BindingIdentifier with optional for AG expressions
Fixes #95.
1 parent e3246ad commit 39243d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/definitions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2>Syntax</h2>
88
[+Default] `async` [no LineTerminator here] `function` `*` `(` FormalParameters[+Yield, +Await] `)` `{` AsyncGeneratorBody `}`
99

1010
AsyncGeneratorExpression :
11-
`async` [no LineTerminator here] `function` `*` BindingIdentifier[+Yield, +Await] `(` FormalParameters[+Yield, +Await] `)` `{` AsyncGeneratorBody `}`
11+
`async` [no LineTerminator here] `function` `*` BindingIdentifier[+Yield, +Await]? `(` FormalParameters[+Yield, +Await] `)` `{` AsyncGeneratorBody `}`
1212

1313
AsyncGeneratorBody :
1414
FunctionBody[+Yield, +Await]

0 commit comments

Comments
 (0)