JavaScript MIN_SAFE_INTEGER
Description
Number.MIN_SAFE_INTEGER
represents the minimum safe integer in JavaScript.
Number.MIN_SAFE_INTEGER
is -(253 - 1).
See Also
Number.MIN_SAFE_INTEGER
MIN_SAFE_INTEGER is a property of the JavaScript Number object.
You can only use it as Number.MIN_SAFE_INTEGER
.
Using x.MIN_VALUE, where x is a variable, will return undefined:
Syntax
Number.MIN_SAFE_INTEGER
Return Value
Type | Description |
Number | -9007199254740991 |
Browser Support
Number.MIN_SAFE_INTEGER
is an ECMAScript6 (ES6) feature.
ES6 (JavaScript 2015) is supported in all modern browsers since June 2017:
Chrome 51 | Edge 15 | Firefox 54 | Safari 10 | Opera 38 |
May 2016 | Apr 2017 | Jun 2017 | Sep 2016 | Jun 2016 |
Number.MIN_SAFE_INTEGER
is not supported in Internet Explorer.