How to get the MAX_SAFE_INTEGER and the MIN_SAFE_INTEGER in JavaScript ES6

1 Answer

0 votes
console.log(Number.MAX_SAFE_INTEGER); 
console.log(Number.MIN_SAFE_INTEGER); 




/*
run:
     
false
9007199254740991
-9007199254740991
   
*/

 



answered Mar 11, 2020 by avibootz
...