English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

JavaScript MAX_SAFE_INTEGER Property

 JavaScript Number Object

MAX_SAFE_INTEGERProperty represents the maximum safe integer in JavaScript (2 53 - 1).

Since MAX_SAFE_INTEGER is a static property of Number, it is always used asNumber.MAX_SAFE_INTEGER, rather than using it as a property of the Number object created.

Syntax:

Number.MAX_SAFE_INTEGER
Number.MAX_SAFE_INTEGER;
Test See‹/›

Browser Compatibility

All browsers fully support the MAX_SAFE_INTEGER property:

Property
MAX_SAFE_INTEGERYesYesYesYesYes

Technical Details

Writable:None
Enumerable:None
Configurable:None
Return Value:Number,9007199254740991
JavaScript Version:ECMAScript 1

 JavaScript Number Object