JavaScript number problem, no true integer
js number problem
// 2026-06-30 // this number does not change when you add one to it console.log(2 ** 53); // 9007199254740992 console.log(2 ** 53 + 1); // 9007199254740992 console.log(9007199254740992 === 9007199254740992 + 1); // true // add two works console.log(2 ** 53 + 2); // 9007199254740994
BigInt
the problem is solved by BigInt.