tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/NEGATIVE_INFINITY/value.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.11 |
| 6 | esid: sec-number.negative_infinity |
| 7 | description: > |
| 8 | The value of Number.NEGATIVE_INFINITY is -Infinity |
| 9 | info: | |
| 10 | Number.NEGATIVE_INFINITY |
| 11 | |
| 12 | The value of Number.NEGATIVE_INFINITY is -∞. |
| 13 | ---*/ |
| 14 | |
| 15 | assert.sameValue(Number.NEGATIVE_INFINITY, -Infinity); |