JavaScript Numbers are Always 64-bit Floating Point Unlike many other programming languages, JavaScript does not define different types of numbers, like integers, short, long, floating-point etc. JavaScript numbers are always stored as double precision floating point numbers, following the international IEEE 754 standard.
这里应该是翻译上的错误(从来没有听说过这种说法,知道你post出来我才查了下,发现出现在http://www.w3school.com.cn/js/js_obj_number.asp上)
我猜测www.w3school.com.cn翻译自www.w3school.com,而www.w3school.com上的对应原文为:
然后这里的double precision floating point是8字节64位(8 bytes (64 bits))的存储方式。就单凭这点,“储为根为 10 的 64 位(8 比特)”这里的翻译就是个笑话,他都没搞清楚位(比特,bit)和字节(byte)之间的关系。
所以别相信这句话