title: blank string is true or false in Javascript?
body: <pre><code>'' == false // true
  ' ' == false // true
  if ('') {
    // this code is not run
  }
  if (' ') {
    // this code is run
  }
  </code></pre>
  
  <p>As you can see, there are interesting results.
  The empty string is treated as <code>falsy</code>, as we already know.
  However, whitespace strings are treated as <code>truthy</code> or <code>falsy</code>, depending on the situation.</p>