title: Understanding JavaScript Truthy and Falsy
body: <p>Can someone please explain JavaScript Truthy and Falsy, using the below sample data. I have read other threads but still confused.</p>
  
  <pre><code>var a = 0;
  
  var a = 10 == 5;
  
  var a = 1; 
  
  var a = -1;
  </code></pre>
  
  <p>From my understanding, I believe that <code>var a = 1;</code> is the only truthy and the rest are falsy - is this correct?</p>