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