The MIN_SAFE_INTEGER constant has a value of -(253 - 1) or -9007199254740991.
It is a non-writable, non-enumerable, and non-configurable property.
"Safe" refers to the ability of JavaScript to represent integers exactly and to correctly compare them.
The syntax to access the MIN_SAFE_INTEGER constant is:
Number.MIN_SAFE_INTEGER
MIN_SAFE_INTEGER is accessed using the Number class name.
Example: Value of Number.MIN_SAFE_INTEGER
Output
-9007199254740991 true
Note: If you have to use integers greater than MAX_SAFE_INTEGER, consider using BigInt.
Recommended Readings: