Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/NaN/15.1.1.1-0.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 15.1.1.1-0
6 description: Global.NaN is a data property with default attribute values (false)
7 ---*/
8
9 var desc = Object.getOwnPropertyDescriptor(this, 'NaN');
10
11 assert.sameValue(desc.writable, false, 'desc.writable');
12 assert.sameValue(desc.enumerable, false, 'desc.enumerable');
13 assert.sameValue(desc.configurable, false, 'desc.configurable');