|
|
|
3. Set value .[[SourceText]] to the source text matched by . 4. Let env be the 's LexicalEnvironment. 5. Perform ? ( className , value , env ). 6. Return value . :
class 1. Let value be ? of with arguments undefined and "default" . 2. Set value .[[SourceText]] to the source text matched by . 3. Return value . NOTE :
class
1. Perform ? BindingClassDeclarationEvaluation of this 2. Return ( empty ). NOTE :
class 1. Let value be ? of with arguments undefined and "" . 2. Set value .[[SourceText]] to the source text matched by . 3. Return value . :
class
1. Let className be . 2. Let value be ? of with arguments className and className . 3. Set value .[[SourceText]] to the source text matched by . 4. Return value . [Yield, Await, Default]
: async [no here] function [?Yield, ?Await]
( [~Yield, +Await]
)
{
} [+Default]
async [no here] function
(
)
{
}
:
class binding is handled as part of the evaluation action for that production. See
:
class and is never directly evaluated. 15.7.9 Runtime Semantics: Evaluation 15.8 Async Function Definitions Syntax 416 |