title: Javascript - If statement - string && boolean in condition
body: <p>If I am testing a boolean by itself I know I don't have to put == true.</p>
  
  <pre><code> if (bool) {
     foo();
   }
  </code></pre>
  
  <p>I have an if condition that tests for the truthfulness of both a sting's value and a boolean, can I replace: </p>
  
  <pre><code> if ( string === "hello" &amp;&amp; bool == true ) {
     foo();
   }
  </code></pre>
  
  <p>with: </p>
  
  <pre><code> if ( string === "hello" &amp;&amp; bool ) { 
   foo();
   }
  </code></pre>
  
  <p>?</p>
  
  <p>Also, would a bool value ever use a triple equal sign?   So far what I've seen on bool tests are double equals only.</p>
  
  <p>Thanks.</p>