blob: eed1bb1934d2eba4905ea9814a78d164e8c58cd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2018 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: AsyncGeneratorFunction.prototype property descriptor
esid: sec-asyncgeneratorfunction-prototype
info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [async-iteration]
---*/
var AsyncGeneratorFunction = Object.getPrototypeOf(async function* () {}).constructor;
verifyProperty(AsyncGeneratorFunction, "prototype", {
enumerable: false,
writable: false,
configurable: false,
});
reportCompare(0, 0);
|