Javascript if else statement optimisation
<p>I want to ask about optimisation in JavaScript <code>if else</code> statement.I have the code like this </p>

<pre><code>if ( thisIsTrue )
    printMe("someMessage");
</code></pre>

<p>And the code can be optimisation like this</p>

<pre><code>thisIsTrue &amp;&amp; printMe("someMessage");
</code></pre>

<p>The question is what the code of <code>thisIsTrue &amp;&amp; printMe("someMessage");</code> only works in statement who has been return true.</p>

<p>What if the return is false? </p>
