abdulapopoola.com
Why JavaScript has two zeros: -0 and +0
Do you know there are two valid zero representations in JavaScript? In pure mathematics, zero means nothing and its sign doesn’t matter. +0 = -0 = 0. Computers can’t represent value wel…