Javascript - turning if statement into switch statement
<p>I'm trying to convert an if statement into a switch statement using javascript. This is the working if statement:</p>

<pre><code>      if(!error1(num, a_id) &amp;&amp; !error2(num, b_id) &amp;&amp; !error3(num, c_id) &amp;&amp; !error4(num, d_id)) {
    a.innerHTML = num;
</code></pre>

<p>Any tips on how to put this into a switch statement would be great. Thanks</p>
