blob: b551a6c2557c7c9e8aa9537e5c5c9c64643c941d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (C) 2018 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-asyncgeneratorfunction-prototype-prototype
description: >
The value of AsyncGeneratorFunction.prototype.prototype is the
%AsyncGeneratorPrototype% intrinsic object.
This property has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [async-iteration]
---*/
var AsyncGeneratorFunctionPrototype = Object.getPrototypeOf(async function*() {});
assert.sameValue(
AsyncGeneratorFunctionPrototype.prototype,
Object.getPrototypeOf(async function*() {}.prototype)
);
verifyProperty(AsyncGeneratorFunctionPrototype, "prototype", {
enumerable: false,
writable: false,
configurable: true,
});
reportCompare(0, 0);
|