I\'m under the impression that the Number type in Javascript stores any number, integer or float, according to the IEEE floating point standard. If so, then why does bitwise OR-
Quote from MDN
Bitwise operators treat their operands as a sequence of 32 bits (zeros and ones), rather than as decimal, hexadecimal, or octal numbers.
If you didn't treat the numbers like this the bitwise ops wouldn't make much sense, which is why it is done