---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Infinity

The global property **`Infinity`** is a numeric value representing infinity.

## Value

The same number value as `Number.POSITIVE_INFINITY`.

## Description

`Infinity` is a property of the _global object_. In other words, it is a variable in global scope.

The value `Infinity` (positive infinity) is greater than any other number.

This value behaves slightly differently than mathematical infinity; see `Number.POSITIVE_INFINITY` for details.
