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.
4 description: Property descriptor for `Number.MAX_SAFE_INTEGER`
5 esid: sec-number.max_safe_integer
7 The value of Number.MAX_SAFE_INTEGER is 9007199254740991
9 This property has the attributes { [[Writable]]: false, [[Enumerable]]:
10 false, [[Configurable]]: false }.
11 includes: [propertyHelper.js]
14 var desc = Object.getOwnPropertyDescriptor(Number, 'MAX_SAFE_INTEGER');
16 assert.sameValue(desc.set, undefined, 'Does not define a `get` accessor');
17 assert.sameValue(desc.get, undefined, 'Does not define a `set` accessor');
18 assert.sameValue(desc.value, 9007199254740991);
20 verifyNotEnumerable(Number, 'MAX_SAFE_INTEGER');
21 verifyNotWritable(Number, 'MAX_SAFE_INTEGER');
22 verifyNotConfigurable(Number, 'MAX_SAFE_INTEGER');