DEV Community

Discussion on: Math.sign: How to Check if a Number is Positive or Negative in JavaScript

Collapse
 
aralroca profile image
Aral Roca

+10 years with JavaScript and I never listen about negative 0! But make sense...

Collapse
 
samanthaming profile image
Samantha Ming

I only learned the negative 0 when i wrote this article. It will be interesting to see when i can actually apply it. I'll make sure to share when that happens 😊