Debian Codegraph @

js/src/tests/test262/built-ins/Number/POSITIVE_INFINITY/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.positive_infinity
6 description: >
7 "POSITIVE_INFINITY" property of Number
8 info: |
9 Number.POSITIVE_INFINITY
10
11 This property has the attributes { [[Writable]]: false, [[Enumerable]]: false,
12 [[Configurable]]: false }.
13 includes: [propertyHelper.js]
14 ---*/
15
16 verifyNotEnumerable(Number, "POSITIVE_INFINITY");
17 verifyNotWritable(Number, "POSITIVE_INFINITY");
18 verifyNotConfigurable(Number, "POSITIVE_INFINITY");
19
20 reportCompare(0, 0);