title: Why use === instead of == when comparing a String
body: <p>When checking for a String value I use '=='. But I have seen instances where '===' is used. For example, instead of</p>
  
  <pre><code>if("true" == "true"){
   alert('true');
  }
  </code></pre>
  
  <p>this is used : </p>
  
  <pre><code>if("true" === "true"){
   alert('true');
  }
  </code></pre>
  
  <p>What is the reasoning behind this ? Both use cases seem to work as expected.</p>