Languages
[Edit]
EN

JavaScript - get supported min integer value

0 points
Created by:
Ela-Davey
243

In this article, we would like to show you how to get supported min integer value in JavaScript.

Quick solution:

Number.MIN_SAFE_INTEGER

 

Practical example

In this example, we print in the console the Number.MAX_SAFE_INTEGER constant that represents the minimum safe integer in JavaScript.

// ONLINE-RUNNER:browser;

console.log(Number.MIN_SAFE_INTEGER);

Output:

-9007199254740991
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join