JavaScript Number Properties

Beginner
6 min read
Updated: Nov 2026
9 property guides
Property 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.

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

JavaScript Number Properties Table

All property guides in this JavaScript tutorial series (9 tutorials).

Precision & magnitude

3 properties

Floating-point spacing and the largest / smallest positive finite values.

PropertyDescriptionTutorial
EPSILONDifference between 1 and the next representable Number — tiny tolerance near magnitude 1.Try it
MAX_VALUELargest positive finite Number (~1.8e+308) — larger results become Infinity.Try it
MIN_VALUESmallest positive Number (~5e-324) — smaller results underflow toward 0.Try it

Safe integers

2 properties

Exact integer range for Number — use BigInt outside these limits.

PropertyDescriptionTutorial
MAX_SAFE_INTEGERLargest exact integer Number (2^53 − 1) — beyond it, use BigInt.Try it
MIN_SAFE_INTEGERSmallest exact integer Number (−(2^53 − 1)) — below it, use BigInt.Try it

Special values

3 properties

Infinity constants and Not-A-Number.

PropertyDescriptionTutorial
POSITIVE_INFINITYPositive Infinity — same as global Infinity; appears after overflow past MAX_VALUE.Try it
NEGATIVE_INFINITYNegative Infinity — same as -Infinity; appears after overflow past -MAX_VALUE.Try it
NaNNot-A-Number — same as global NaN; never equals itself (use Number.isNaN).Try it

Prototype

1 property

The shared Number.prototype object for instance methods.

PropertyDescriptionTutorial
prototypeShared object that holds number methods such as toFixed() and toString().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.

EPSILON tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful