Skip to main content

MAX_SAFE_INTEGER

Constant MAX_SAFE_INTEGER 

Source
pub const MAX_SAFE_INTEGER: i64 = _ /* 9_007_199_254_740_991i64 */;
Expand description

The largest integer a JavaScript number holds exactly: 2^53 − 1. Number.MAX_SAFE_INTEGER, in other words.