Debian Codegraph @

js/src/tests/test262/built-ins/Array/prop-desc.js

raw
1 // Copyright (C) 2019 Aleksey Shvayka. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-array-constructor
5 description: >
6 Property descriptor of Array
7 info: |
8 22.1.1 The Array Constructor
9
10 * is the initial value of the Array property of the global object.
11
12 17 ECMAScript Standard Built-in Objects
13
14 Every other data property described in clauses 18 through 26 and in Annex B.2
15 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
16 [[Configurable]]: true } unless otherwise specified.
17 includes: [propertyHelper.js]
18 ---*/
19
20 verifyProperty(this, 'Array', {
21 value: Array,
22 writable: true,
23 enumerable: false,
24 configurable: true,
25 });
26
27 reportCompare(0, 0);