Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Infinity/15.1.1.2-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.2-0
6 description: >
7 Global.Infinity is a data property with default attribute values
8 (false)
9 ---*/
10
11 var desc = Object.getOwnPropertyDescriptor(this, 'Infinity');
12
13 assert.sameValue(desc.writable, false, 'desc.writable');
14 assert.sameValue(desc.enumerable, false, 'desc.enumerable');
15 assert.sameValue(desc.configurable, false, 'desc.configurable');