>>1627The most basic type of data a CPU can retrieve from memory and handle is a byte, or at least with most current architectures. That means, the CPU is probably going to treat 00000001 and 11111111 the same way, even though they are 1 and 255, respectively.
Anyway, even the performance difference between int 32 (4 bytes) and a byte is negligible, so the difference between two 8 bit values would be even smaller. Not to take into account most JS implementations will probably just make all numbers 32/64 bits, as
>>1607 said.
Anyway, if you actually needed to make a program that took advantage of stuff like this, you would probably not even consider JavaScript for it.