Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/MIN_VALUE/S15.7.3.3_A2.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: Number.MIN_VALUE is ReadOnly
6 es5id: 15.7.3.3_A2
7 description: Checking if varying Number.MIN_VALUE fails
8 includes: [propertyHelper.js]
9 ---*/
10
11 // CHECK#1
12 var x = Number.MIN_VALUE;
13 verifyNotWritable(Number, "MIN_VALUE", null, 1);
14 if (Number.MIN_VALUE !== x) {
15 $ERROR('#1: x = Number.MIN_VALUE; Number.MIN_VALUE = 1; Number.MIN_VALUE === x');
16 }