title: Comparision is not working in Javascript with Strict Equal
body: <p>I have below Basic Javascript to reverse the number which work when I use</p>
  
  <blockquote>
    <p><code>while (!no == 0)</code></p>
  </blockquote>
  
  <p>But Doesn't work when I use</p>
  
  <blockquote>
    <p><code>while (!no === 0)</code></p>
  </blockquote>
  
  <p>I have tried in the console for <code>parseInt(0)</code> which returns <code>number</code> only and my <code>no</code> is already <code>number</code> so</p>
  
  <blockquote>
    <p>why <code>===</code> is not working ,Can someone help and explain me better?</p>
  </blockquote>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function findRepeated(number) {
    var a, no, b, temp = 0;
  
    no = parseInt(number);
  
  
    while (!no == 0) {
      a = no % 10;
      no = parseInt(no / 10);
      temp = temp * 10 + a;
    }
    return temp;
  }
  
  console.log(findRepeated(123));</code></pre>
  </div>
  </div>
  </p>