3 Réponses
+ 2
2^53 is an astronomical number, most programmers have least concerns about this, it should not be a factor to determine JavaScript is the right programming language you choose.
And I never have chance use BigInt numbers, even though I have written JavaScript for quite a time now.
In other words, the range of JavaScript numbers is more than sufficient for most of our applications.
+ 1
For JavaScript, there is a a range.
https://www.sololearn.com/post/42689/?ref=app
+ 1
Use BigInt type to represent unsafe number, whole numbers larger than 10^53. It has some limitations, it does not work with Math function and cannot operate with number directly.
More information please check https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt