Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/NaN.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 es6id: 20.1.2.10
6 esid: sec-number.nan
7 description: >
8 "NaN" property descriptor and value of Number
9 info: |
10 20.1.2.10 Number.NaN
11
12 The value of Number.NaN is NaN.
13
14 This property has the attributes { [[Writable]]: false, [[Enumerable]]: false,
15 [[Configurable]]: false }.
16 includes: [propertyHelper.js]
17 ---*/
18
19 assert.sameValue(Number.NaN, NaN);
20
21 verifyNotEnumerable(Number, "NaN");
22 verifyNotWritable(Number, "NaN");
23 verifyNotConfigurable(Number, "NaN");