title: I'm doing a function of inverting values, and the 0, is also inverting, how do I make the 0 not to be negative?
body: <p>Code in Javascript, please help me to make 0 not negative</p>
  <pre><code>function invertSign(val) {
  
      return (val * -1);
  }
  
  console.log(invertSign(1)) -1
  console.log(invertSign(-2)) 2
  console.log(invertSign(0)) -0
  </code></pre>