Name Description Size
AsyncFunction-construct.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-constructor description: > %AsyncFunction% creates functions with or without new and handles arguments similarly to functions. --- 1106
AsyncFunction-is-extensible.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: pending description: > %AsyncFunction% is extensible --- 387
AsyncFunction-is-subclass.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-constructor description: > %AsyncFunction% is a subclass of Function --- 708
AsyncFunction-length.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-constructor-length description: > %AsyncFunction% has a length of 1 with writable false, enumerable false, configurable true. includes: [propertyHelper.js] --- 573
AsyncFunction-name.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-constructor-properties description: > %AsyncFunction% has a name of "AsyncFunction". includes: [propertyHelper.js] --- 544
AsyncFunction-prototype.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-constructor-prototype description: AsyncFunction has a prototype property with writable false, enumerable false, configurable false. includes: [propertyHelper.js] --- 606
AsyncFunction.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-objects description: > %AsyncFunction% exists and is a function --- 414
AsyncFunctionPrototype-is-extensible.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-sync-function-prototype-properties description: > %AsyncFunctionPrototype% has a [[Extensible]] of true --- 466
AsyncFunctionPrototype-is-not-callable.js --- esid: sec-async-function-prototype-properties description: > %AsyncFunction.prototype% is an ordinary non-callable object. info: | Properties of the AsyncFunction Prototype Object The AsyncFunction prototype object: [...] is an ordinary object. is not a function object and does not have an [[ECMAScriptCode]] internal slot or any other of the internal slots listed in Table 28. features: [async-functions] --- 931
AsyncFunctionPrototype-prototype.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-sync-function-prototype-properties description: AsyncFunction.prototype has a [[prototype]] of Function.prototype --- 480
AsyncFunctionPrototype-to-string.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-prototype-properties-toStringTag description: > %AsyncFunctionPrototype% has a Symbol.toStringTag property of "AsyncFunction" includes: [propertyHelper.js] features: [Symbol.toStringTag] --- 736
browser.js 0
instance-construct-throws.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-instances description: > Async function instances are not constructors and do not have a [[Construct]] slot. info: | 25.5.1.1 AsyncFunction( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async", args). 19.2.1.1.1 Runtime Semantics: CreateDynamicFunction( constructor, newTarget, kind, args ) ... 33. Perform FunctionInitialize(F, Normal, parameters, body, scope). 34. If kind is "generator", then ... 35. Else if kind is "normal", perform MakeConstructor(F). 36. NOTE: Async functions are not constructable and do not have a [[Construct]] internal method or a "prototype" property. ... --- 1151
instance-has-name.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-instances-name description: Async function declarations have a name property includes: [propertyHelper.js] --- 483
instance-length.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-instances-length description: > Async functions have a length property that is the number of expected arguments. includes: [propertyHelper.js] --- 658
instance-prototype-property.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-instances description: > Async function instances do not have a prototype property. --- 506
is-a-constructor.js --- esid: sec-ecmascript-standard-built-in-objects description: > The AsyncFunction 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] --- 890
is-not-a-global.js --- author: Brian Terlson <brian.terlson@microsoft.com> esid: sec-async-function-constructor-properties description: > %AsyncFunction% is not exposed as a global --- 436
proto-from-ctor-realm.js --- esid: sec-async-function-constructor-arguments description: Default [[Prototype]] value derived from realm of the NewTarget. info: | AsyncFunction ( p1, p2, … , pn, body ) ... 3. Return CreateDynamicFunction(C, NewTarget, "async", args). Runtime Semantics: CreateDynamicFunction ( constructor, newTarget, kind, args ) ... 9. Else if kind is "async", then ... c. Let fallbackProto be "%AsyncFunction.prototype%". ... 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-functions, cross-realm, Reflect, Symbol] --- 2484
shell.js --- description: | Provides uniform access to built-in constructors that are not exposed to the global object. defines: - AsyncArrowFunction - AsyncFunction - AsyncGeneratorFunction - GeneratorFunction --- 1295