DEV Community

Punya Purba Pattnaik
Punya Purba Pattnaik

Posted on

-1 * 0 = -0

Yes you heard it right. It seems javascript evaluates -1 * 0 equals to -0. You can see the below screenshot:
Image description

Top comments (0)