According to what I've read, all numbers in JavaScript are saved as floats except array indexes and the operands of bitwise operations.
Because all floats have a sign bit -0 === 0
should evaluate to false. However it evaluates to true.
According to what I've read, all numbers in JavaScript are saved as floats except array indexes and the operands of bitwise operations.
Because all floats have a sign bit -0 === 0
should evaluate to false. However it evaluates to true.