Debian Codegraph @

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

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