title: javascript-how can I see result of every condition in one if statement By Debugging in Chrome?
body: <p>I Have some javascript code that has if statements with multiple conditions .</p>
  <p>I want to see which one is true or false in chrome debugging.</p>
  <p>for example:</p>
  <pre><code>if(a.value=='' || (document.getElementById('test') &amp;&amp; document.getElementById('test').value==='') || myfom_upload.value==='' || document.forms['test_form']['name'].value==='' || document.getElementById('test_id').value==='' )
  {
   //some codes.
  }
  </code></pre>
  <p><strong>I want to see result of :</strong></p>
  <p><code>(a.value=='')</code>====&gt;(true or false)?</p>
  <p><code>(document.getElementById('test'))</code>  ====&gt;(true or false)?</p>
  <p><code>document.getElementById('test')</code> ====&gt;(true or false)?</p>
  <p><code>(document.getElementById('test').value==='')</code> ====&gt; (true or false)?</p>
  <p><code>(myfom_upload.value==='')</code>====&gt;(true or false)?</p>
  <p><code>document.forms['test_form']['name'].value===''</code> ====&gt;(true or false)?</p>
  <p><code>document.getElementById('test_id').value===''</code> ====&gt;(true or false)?</p>
  <p>How can I see result of every condition in one if statement By Debugging in Chrome?</p>
  <p>Is there anyway in console.log or something else?</p>
  <p>Thanks</p>