JavaScript cannot handle 64 bit integers
JavaScript represents all numbers using IEEE-754 double-precision (64 bit) floating points. This is problematic for 64 bit integers, since this gives only gives you 53 bits of precision (the size of the mantissa). Bit operations are also only available for integer number up to 32 bits. Finally, the JSON exchange format does not support the IEEE-754 “NaN”, “Infinity” and “-Infinity” values. So the only numbers you can freely use in JavaScript without the risk of data-loss are 32 bit integers. ...