Join Digital Nomads and Remote Workers to Ask Questions, Share Experiences, Find Remote Jobs and Seek Recommendations.

JavaScript Number.MIN_VALUE

,

If you ask me, what is the largest possible number can be displayed in JavaScript? I probably can’t answer.

But I can tell you that you can get the largest number can be displayed in JavaScript with Number.MIN_VALUE.

The Number.MIN_VALUEis static property of the Number object with a value of 1.7976931348623157e+308.

What Happened if exceed the MIN_VALUE

When the number is more than the MIN_VALUE or 1.7976931348623157e+308. It will return Infinity.

1.7976931348623157e+308; // 1.7976931348623157e+308
1.7976931348623157e+309; // Infinity

Browser Support

BrowserChromeEdgeMozillaSafariOpera
Number.MIN_VALUEYesYesYesYesYes

We Work From Anywhere

Find Remote Jobs, Ask Questions, Connect With Digital Nomads, and Live Your Best Location-Independent Life.