How can I initialise a variable in javascript to the biggest possible number? I am looking for an equivalent of:
Integer.MAX_VALUE --> Java
Integer.MAX_VALUE
INT_MAX --> C
INT_MAX
int.MaxValue --> C#
int.MaxValue
With the new added ECMAScript feature MAX_SAFE_INTEGER
console.log(Number.MAX_SAFE_INTEGER)
1.4m articles
1.4m replys
5 comments
56.9k users