summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/NEGATIVE_INFINITY/value.js
blob: 6a874bdce0467bcbc55edbe7e1141b274af19d3d (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.negative_infinity
description: >
  The value of Number.NEGATIVE_INFINITY is -Infinity
info: |
  Number.NEGATIVE_INFINITY

  The value of Number.NEGATIVE_INFINITY is -∞.
---*/

assert.sameValue(Number.NEGATIVE_INFINITY, -Infinity);

reportCompare(0, 0);