I tried to google it, but all key words references to funtions or solutions working with content of variable.
My question is simple. If variable represents a number,
var a = 1;
what is its max bit length? I mean, what highest number can it contain before buffer overflow happens? Is it int32? Is it int64? Is it a different length?
Thanks in advance
ArrayBuffer, you can have buffer overflow in JS.)x + 1is guaranteed to work the way one imagines integers should work - that's what I was referring to. (Also, the result of bit operations are true integers, and if you are specifically talking about storage,Uint32Arraystores true integers; I agree that is not really relevant here, but "Every number is a IEEE 754" is not 100% correct.)