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