Debian Codegraph @

js/src/tests/test262/built-ins/Promise/any/prop-desc.js

raw
1 // Copyright (C) 2019 Sergey Rubanov. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-promise.any
6 description: Promise.any property descriptor
7 info: |
8 ES Section 17
9
10 Every other data property described in clauses 18 through 26 and in Annex
11 B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
12 [[Configurable]]: true } unless otherwise specified.
13 includes: [propertyHelper.js]
14 features: [Promise.any]
15 ---*/
16
17 verifyProperty(Promise, 'any', {
18 configurable: true,
19 writable: true,
20 enumerable: false,
21 });
22
23 reportCompare(0, 0);