JavaScript Number Properties

Index
About This Index
This page is the JavaScript Number Properties index for the tutorial track. Each row links to a full guide with syntax, examples, and FAQs.
Learn what a Number is on /js/number. Use this page when you need a specific constant such as EPSILON, MAX_SAFE_INTEGER, or NaN.
Static on Number.
Read Number.EPSILON, not (1).EPSILON. These are constants on the constructor—not instance fields.
Syntax
How to Read a Number Property
Properties are values—no parentheses:
JavaScript
Number.EPSILON // ~2.22e-16
Number.MAX_SAFE_INTEGER // 9007199254740991
Number.MIN_SAFE_INTEGER // -9007199254740991
Number.MAX_VALUE // ~1.8e+308
Number.MIN_VALUE // ~5e-324
Number.POSITIVE_INFINITY // Infinity
Number.NEGATIVE_INFINITY // -Infinity
Number.NaN // NaN Browse
JavaScript Number Properties Table
All property guides in this JavaScript tutorial series (8 tutorials).
Precision & magnitude
3 propertiesFloating-point spacing and the largest / smallest positive finite values.
| Property | Description | Tutorial |
|---|---|---|
EPSILON | Difference between 1 and the next representable Number — tiny tolerance near magnitude 1. | Try it |
MAX_VALUE | Largest positive finite Number (~1.8e+308) — larger results become Infinity. | Try it |
MIN_VALUE | Smallest positive Number (~5e-324) — smaller results underflow toward 0. | Try it |
Safe integers
2 propertiesExact integer range for Number — use BigInt outside these limits.
| Property | Description | Tutorial |
|---|---|---|
MAX_SAFE_INTEGER | Largest exact integer Number (2^53 − 1) — beyond it, use BigInt. | Try it |
MIN_SAFE_INTEGER | Smallest exact integer Number (−(2^53 − 1)) — below it, use BigInt. | Try it |
Special values
3 propertiesInfinity constants and Not-A-Number.
| Property | Description | Tutorial |
|---|---|---|
POSITIVE_INFINITY | Positive Infinity — same as global Infinity; appears after overflow past MAX_VALUE. | Try it |
NEGATIVE_INFINITY | Negative Infinity — same as -Infinity; appears after overflow past -MAX_VALUE. | Try it |
NaN | Not-A-Number — same as global NaN; never equals itself (use Number.isNaN). | Try it |
Frequently Asked Questions
They are static, read-only constants on Number itself—for example Number.EPSILON, Number.MAX_SAFE_INTEGER, Number.POSITIVE_INFINITY, and Number.NaN. Read them as Number.NaN; do not call them like methods.
The Number page teaches what a Number is—literals, conversion, NaN, and Infinity. This Properties index lists every constant tutorial so you can open EPSILON, MAX_SAFE_INTEGER, and the rest.
Methods are functions you call: Number.isFinite(x) or (5).toFixed(2). Properties are constants you read with no parentheses: Number.MAX_VALUE.
No. MIN_VALUE is the smallest positive Number (closest to zero without being zero), about 5e-324. The most negative finite value is -Number.MAX_VALUE.
If you are new, read JavaScript Number first. Then open EPSILON, MAX_SAFE_INTEGER, and NaN from the table below.
Start with EPSILON
Open the first property guide—syntax, examples, and FAQs.
8 people found this page helpful
