4 ms·
JavaScript supports various bit manipulation operators, which treat their operands as 32 bits (and return a numerical value).
by amenghra 13y ago
JavaScript supports various bit manipulation operators, which treat their operands as 32 bits (and return a numerical value).
- Someone 13y agoBecause of that, I am not sure can use them to count the number of 1 bits in a JavaScript number. For example, if x&0xFFFFFFFF equals 356621, what do you know of x?