Debian Codegraph @

js/src/tests/test262/built-ins/Number/POSITIVE_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 esid: sec-number.positive_infinity
6 description: >
7 The value of Number.POSITIVE_INFINITY is +Infinity
8 info: |
9 Number.POSITIVE_INFINITY
10
11 The value of Number.POSITIVE_INFINITY is +∞.
12 ---*/
13
14 assert.sameValue(Number.POSITIVE_INFINITY, Infinity);
15
16 reportCompare(0, 0);