summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/POSITIVE_INFINITY/value.js
blob: 4bb44cf4911cebf2bdc8971d89d8e9289c3cb51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2016 The V8 Project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-number.positive_infinity
description: >
  The value of Number.POSITIVE_INFINITY is +Infinity
info: |
  Number.POSITIVE_INFINITY

  The value of Number.POSITIVE_INFINITY is +∞.
---*/

assert.sameValue(Number.POSITIVE_INFINITY, Infinity);

reportCompare(0, 0);