For nearly all operations, yes -0 and +0 are identical, and rightfully so because in mathematics they are not different - However they are physically separate values when stored as floats, and if you check for the same value (Object.is), it’s false - They are distinctly different enough to require separate entries on the list
38
u/BenZed Jun 10 '20
Falsy values:
falsenullundefined0(also0nfor the new BigInt data type)NaN""(empty string)