Number.MIN_SAFE_INTEGER
represents the minimum safe integer in JavaScript.
Number.MIN_SAFE_INTEGER
is -(253 - 1).
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:
Number.MIN_SAFE_INTEGER
Type | Description |
Number | -9007199254740991 |
Number.MIN_SAFE_INTEGER
is an ECMAScript6 (ES6) feature.
ES6 (JavaScript 2015) is supported in all modern browsers:
Chrome | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes |
Number.MIN_SAFE_INTEGER
is not supported in Internet Explorer 11 (or earlier).
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!