3

Why does the following situation occur? Is the number 2**969 exactly a limit for this case?

console.log((Number.MAX_VALUE + 2 ** 969) == Number.MAX_VALUE) // true
console.log((Number.MAX_VALUE + 2 ** 970) == Number.MAX_VALUE) // false
Nemesis
  • 299
  • 1
  • 7

0 Answers0