Name Description Size
browser.js 0
extensibility.js --- esid: sec-properties-of-asyncgeneratorfunction description: Object extensibility info: | The value of the [[Extensible]] internal slot of the AsyncGeneratorFunction constructor is true. features: [async-iteration] --- 523
has-instance.js --- esid: sec-properties-of-asyncgeneratorfunction description: > AsyncGenerator function instances are correctly reported as instances of the AsyncGeneratorFunction intrinsic. features: [async-iteration] --- 1265
instance-await-expr-in-param.js --- esid: sec-asyncgeneratorfunction description: Definition of instance `length` property info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async generator", args). Runtime Semantics: CreateDynamicFunction ... 29. If kind is "async" or "async generator", then a. If parameters Contains AwaitExpression is true, throw a SyntaxError exception. features: [async-iteration] flags: [async] --- 1366
instance-construct-throws.js --- esid: sec-asyncgeneratorfunction description: The instance created by AsyncGeneratorFunction is not a constructor info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return ? CreateDynamicFunction(C, NewTarget, "async generator", args). Runtime Semantics: CreateDynamicFunction( constructor, newTarget, kind, args ) ... 32. Let F be FunctionAllocate(proto, strict, kind). ... FunctionAllocate ( functionPrototype, strict, functionKind ) // [[Construct]] and [[ConstructKind]] are not set for functionKind="async generators" features: [async-iteration] --- 958
instance-length.js --- esid: sec-asyncgeneratorfunction description: Definition of instance `length` property info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async generator", args). Runtime Semantics: CreateDynamicFunction ... // the parameter "args" is sliced into "parameters" and "body" 26. Perform FunctionInitialize(F, Normal, parameters, body, scope). ... FunctionInitialize ... 2. Let len be the ExpectedArgumentCount of ParameterList. 3. Perform ! DefinePropertyOrThrow(F, "length", PropertyDescriptor{[[Value]]: len, [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true}). ... includes: [propertyHelper.js] features: [async-iteration] --- 1546
instance-name.js --- esid: sec-asyncgeneratorfunction description: Assignment of function `name` attribute info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async generator", args). RuntimeSemantics: CreateDynamicFunction(constructor, newTarget, kind, args) ... 29. Perform SetFunctionName(F, "anonymous"). includes: [propertyHelper.js] features: [async-iteration] --- 845
instance-prototype.js --- esid: sec-asyncgeneratorfunction description: Definition of instance `prototype` property info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async generator", args). Runtime Semantics: CreateDynamicFunction ... 37. Else if kind is "async generator", then a. Let prototype be ObjectCreate(%AsyncGeneratorPrototype%). b. Perform DefinePropertyOrThrow(F, "prototype", PropertyDescriptor{[[Value]]: prototype, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: false}). ... includes: [propertyHelper.js] features: [async-iteration] --- 1229
instance-yield-expr-in-param.js --- esid: sec-asyncgeneratorfunction description: Definition of instance `length` property info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async generator", args). Runtime Semantics: CreateDynamicFunction ... 28. If kind is "generator" or "async generator", then a. If parameters Contains YieldExpression is true, throw a SyntaxError exception. features: [async-iteration] flags: [async] --- 1357
invoked-as-constructor-no-arguments.js --- esid: sec-asyncgeneratorfunction description: > When invoked via the constructor invocation pattern without arguments, the GeneratorFunction intrinsic returns a valid async generator with an empty body. features: [async-iteration] flags: [async] --- 741
invoked-as-function-multiple-arguments.js --- esid: sec-asyncgeneratorfunction description: > When invoked via the function invocation pattern with multiple arguments, the AsyncGeneratorFunction intrinsic creates a valid generator whose body is the last argument evaluated as source code and whose formal parameters are defined by the preceding arguments. features: [async-iteration] flags: [async] --- 1083
invoked-as-function-no-arguments.js --- esid: sec-asyncgeneratorfunction description: > When invoked via the function invocation pattern without arguments, the AsyncGeneratorFunction intrinsic returns a valid generator with an empty body. features: [async-iteration] flags: [async] --- 732
invoked-as-function-single-argument.js --- esid: sec-asyncgeneratorfunction description: > When invoked via the function invocation pattern with a single argument, the AsyncGeneratorFunction intrinsic creates a valid async generator whose body is the first argument evaluated as source code. features: [async-iteration] flags: [async] --- 1013
is-a-constructor.js --- esid: sec-ecmascript-standard-built-in-objects description: > The AsyncGeneratorFunction constructor implements [[Construct]] info: | IsConstructor ( argument ) The abstract operation IsConstructor takes argument argument (an ECMAScript language value). It determines if argument is a function object with a [[Construct]] internal method. It performs the following steps when called: If Type(argument) is not Object, return false. If argument has a [[Construct]] internal method, return true. Return false. includes: [isConstructor.js, hidden-constructors.js] features: [Reflect.construct] --- 934
length.js --- esid: sec-asyncgeneratorfunction-length description: > This is a data property with a value of 1. This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. includes: [propertyHelper.js] features: [async-iteration] --- 646
name.js --- esid: sec-properties-of-asyncgeneratorfunction description: Function "name" property info: | The value of the name property of the AsyncGeneratorFunction is "AsyncGeneratorFunction". 17 ECMAScript Standard Built-in Objects: Every built-in Function object, including constructors, that is not identified as an anonymous function has a name property whose value is a String. Unless otherwise specified, the name property of a built-in Function object, if it exists, has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. includes: [propertyHelper.js] features: [async-iteration] --- 1035
proto-from-ctor-realm-prototype.js --- esid: sec-createdynamicfunction description: > While default [[Prototype]] value derives from realm of the newTarget, "prototype" object inherits from %Object.prototype% of constructor's realm. info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) [...] 3. Return ? CreateDynamicFunction(C, NewTarget, asyncGenerator, args). CreateDynamicFunction ( constructor, newTarget, kind, args ) [...] 18. Let proto be ? GetPrototypeFromConstructor(newTarget, fallbackProto). 19. Let realmF be the current Realm Record. 20. Let scope be realmF.[[GlobalEnv]]. 21. Let F be ! OrdinaryFunctionCreate(proto, parameters, body, non-lexical-this, scope). [...] 24. Else if kind is asyncGenerator, then a. Let prototype be OrdinaryObjectCreate(%AsyncGenerator.prototype%). b. Perform DefinePropertyOrThrow(F, "prototype", PropertyDescriptor { [[Value]]: prototype, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: false }). [...] 30. Return F. features: [async-iteration, cross-realm, Reflect] --- 1985
proto-from-ctor-realm.js --- esid: sec-asyncgeneratorfunction description: Default [[Prototype]] value derived from realm of the NewTarget. info: | AsyncGeneratorFunction ( p1, p2, … , pn, body ) ... 3. Return ? CreateDynamicFunction(C, NewTarget, "async generator", args). Runtime Semantics: CreateDynamicFunction ( constructor, newTarget, kind, args ) ... 10. Else, a. Assert: kind is "async generator". ... d. Let fallbackProto be "%AsyncGenerator%". ... 18. Let proto be ? GetPrototypeFromConstructor(newTarget, fallbackProto). ... GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. 5. Return proto. features: [async-iteration, cross-realm, Reflect, Symbol] --- 2631
prototype
shell.js --- description: | Provides uniform access to built-in constructors that are not exposed to the global object. defines: - AsyncFunction - AsyncGeneratorFunction - GeneratorFunction --- 1413