mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 21:31:46 +00:00
Merge commit '6e92d2345e8231a44556ce7d416451f5f3e6c398' as 'engine262'
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { ParseNode } from '../parser/ParseNode.mts';
|
||||
import { InstantiateAsyncGeneratorFunctionExpression } from './all.mts';
|
||||
|
||||
/** https://tc39.es/ecma262/#sec-asyncgenerator-definitions-evaluation */
|
||||
// AsyncGeneratorExpression :
|
||||
// `async` `function` `*` `(` FormalParameters `)` `{` AsyncGeneratorBody `}`
|
||||
// `async` `function` `*` BindingIdentifier `(` FormalParameters `)` `{` AsyncGeneratorBody `}`
|
||||
export function Evaluate_AsyncGeneratorExpression(AsyncGeneratorExpression: ParseNode.AsyncGeneratorExpression) {
|
||||
// 1. Return InstantiateAsyncGeneratorFunctionExpression of AsyncGeneratorExpression.
|
||||
return InstantiateAsyncGeneratorFunctionExpression(AsyncGeneratorExpression);
|
||||
}
|
||||
Reference in New Issue
Block a user